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
but if you define a component in a cell without using it, the code is run server-side (even though you'll use the defined component client-side), which fails with the above error.
Maybe there's some Vite config to handle the module interop properly? Or we could distinguish client / server cells explicitly instead of trying to infer from usage? Or we could try to do a better job of inferring from usage, i.e. detect a component definition as client-side only.
styled-components
has a default export (according to its type signature), but if you use it you getThe text was updated successfully, but these errors were encountered: