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
When you call the setter with null (or undefined), the hook correctly removes the item from storage—but because of the fallback logic, it then returns the original initialValue instead of null (or undefined).