We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
useNotify
1 parent 160c8c3 commit f6a9845Copy full SHA for f6a9845
docs/useNotify.md
@@ -240,8 +240,8 @@ export const CheckForApplicationUpdate = () => {
240
const notify = useNotify();
241
242
const onNewVersionAvailable = () => {
243
- // autoHideDuration is set to 0 to disable the auto hide feature
244
- notify(<ApplicationUpdateNotification />, { autoHideDuration: 0 });
+ // autoHideDuration is set to null to disable the auto hide feature
+ notify(<ApplicationUpdateNotification />, { autoHideDuration: null });
245
};
246
247
useCheckForApplicationUpdate({ onNewVersionAvailable, ...rest });
0 commit comments