diff --git a/client/src/app/layout.tsx b/client/src/app/layout.tsx index d217e705..f9852ae4 100644 --- a/client/src/app/layout.tsx +++ b/client/src/app/layout.tsx @@ -24,7 +24,7 @@ export default function RootLayout({ - {/* */} + {children} diff --git a/client/src/components/Modal/modal-button.tsx b/client/src/components/Modal/modal-button.tsx index c681e4a0..c5cdca47 100644 --- a/client/src/components/Modal/modal-button.tsx +++ b/client/src/components/Modal/modal-button.tsx @@ -28,7 +28,7 @@ const CONTENT = { export default function ModalButton({ type, onClick }: IType) { const { content, className } = CONTENT[type]; - const handdleKeyup = (e: any) => { + const handdleKeyup = (e: KeyboardEvent) => { if ((e.keyCode === 13 || e.keyCode === 27) && type !== 'cancle') { onClick(); }