diff --git a/src/components/common/CopiedNotice.tsx b/src/components/common/CopiedNotice.tsx index 96ff899b..9f79cecb 100644 --- a/src/components/common/CopiedNotice.tsx +++ b/src/components/common/CopiedNotice.tsx @@ -1,8 +1,17 @@ import CheckSvg from '@/components/svg-component/CheckSvg.tsx'; -export function CopiedNotice() { +interface Props { + isOpen: boolean; + handleClose: () => void; +} +export function CopiedNotice({ isOpen, handleClose }: Props) { + if (!isOpen) return null; + return ( -