You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/useLockOnMount.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ const PostEdit = () => (
58
58
```
59
59
{% endraw %}
60
60
61
-
**Note**: If users close their tab/browser when on a page with a locked record, `useLockOnMount` will call your `dataProvider.unlock` method. However, as browsers don't wait for asynchronous calls to finish, make sure your dataProvider executes as fast as possible.
61
+
**Note**: If users close their tab/browser when on a page with a locked record, `useLockOnMount` will block the navigation until the record is unlocked and show a notification.
0 commit comments