summaryrefslogtreecommitdiff
path: root/components/preview.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-01 20:41:17 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-01 20:41:17 +0200
commit1b488b87fef21c1f430db4131e3ceb82f25612cf (patch)
tree84665fd286d5823698f1645232a32d9e36f39123 /components/preview.tsx
parent56eeb1fc6b03c4e8ed9405e301c7edc7be5fd5d9 (diff)
chore: build and clean
Diffstat (limited to 'components/preview.tsx')
-rw-r--r--components/preview.tsx20
1 files changed, 0 insertions, 20 deletions
diff --git a/components/preview.tsx b/components/preview.tsx
deleted file mode 100644
index 8d3a1ca..0000000
--- a/components/preview.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import { Box, Heading } from '@chakra-ui/react'
-import React from 'react'
-import UniOrg from '../util/uniorg'
-import getOrgText from '../util/getOrgText'
-
-export interface PreviewProps {
- id: string
- title: string
-}
-export const Preview = (props: PreviewProps) => {
- const { id, title } = props
- const text = getOrgText(id)
-
- return (
- <Box>
- <Heading>{title}</Heading>
- <UniOrg orgText={text} />
- </Box>
- )
-}