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: apps/docs/src/docs/store/state.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,14 +105,12 @@ const Component = () => {
105
105
106
106
## Resetting the state
107
107
108
-
Hana provides a `useResetStore()`hook that can be used to reset the state object to its initial value. This hook is useful when you need to reset the state object to its initial value.
108
+
Hana provides a `resetStore()`function that can be used to reset the state object to its initial value. You can call this function anywhere in your application to reset the state.
0 commit comments