add comment to notification.ts

This commit is contained in:
juhanikat
2025-07-14 12:33:54 +03:00
parent a327a76a8a
commit bb859d8b13
+2
View File
@@ -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 }
}