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.
2 parents c2d8edc + f6a9845 commit 85071daCopy full SHA for 85071da
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