diff --git a/frontend/src/hooks/notification.ts b/frontend/src/hooks/notification.ts index 30d76aaa..588b9509 100755 --- a/frontend/src/hooks/notification.ts +++ b/frontend/src/hooks/notification.ts @@ -3,5 +3,7 @@ import { useContext } from 'react' export const useNotify = () => { const { notify, setMessage } = useContext(NotificationContext) + // setMessage can be used to change a notification's message without creating a new one + // use this to create a progress bar etc. return { notify, setMessage } }