summaryrefslogtreecommitdiff
path: root/components/layout.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout.tsx')
-rw-r--r--components/layout.tsx8
1 files changed, 7 insertions, 1 deletions
diff --git a/components/layout.tsx b/components/layout.tsx
index b3506ea..f137cb4 100644
--- a/components/layout.tsx
+++ b/components/layout.tsx
@@ -1,6 +1,12 @@
import TopNav from '../components/topnav'
import { Container, Box } from '@chakra-ui/react'
-export default function Layout({ children }) {
+import ReactNode from 'react'
+
+type Props = {
+ children?: any
+}
+
+export default function Layout({ children } : Props) {
return (
<>
<TopNav/>