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
Imo you don't really need these wrapper function as they add noise and are just doing what the state update functions are doing anyways, you could just set state inline.
https://github.com/fac27/mood-map/blob/3b09f874eae09d469f58502904362280119ddd11/src/app/life-in-colour/page.tsx#L11C1-L12C45
Imo you don't really need these wrapper function as they add noise and are just doing what the state update functions are doing anyways, you could just set state inline.
onClick={openModal}
->onClick={() => setIsOpen(true)}
If you were feeling fancy you could do something like this:
The text was updated successfully, but these errors were encountered: