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
fix: change default export to named function (#545)
Frameworks like Next.js complain about anonymous export default functions, e.g.
`Anonymous function declarations cause Fast Refresh to not preserve local component state.`
Versions except for v3/5 already use named exports, so update v3/5 to do the same.
0 commit comments