diff --git a/reminder-dashboard/src/components/Reminder/Attachment.tsx b/reminder-dashboard/src/components/Reminder/Attachment.tsx index 1e6d48c..7e5cce8 100644 --- a/reminder-dashboard/src/components/Reminder/Attachment.tsx +++ b/reminder-dashboard/src/components/Reminder/Attachment.tsx @@ -1,8 +1,11 @@ import { useReminder } from "./ReminderContext"; +import { useFlash } from "../App/FlashContext"; export const Attachment = () => { const [{ attachment_name }, setReminder] = useReminder(); + const flash = useFlash(); + return (