Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got this error on the project build - related to emotion-cache.tsx #176

Open
AndrejGorodnij opened this issue Jan 15, 2025 · 0 comments
Open

Comments

@AndrejGorodnij
Copy link

./src/components/core/theme-provider/emotion-cache.tsx:64:32
Type error: Type 'string | undefined' is not assignable to type 'string'.
  Type 'undefined' is not assignable to type 'string'.

  62 |       if (typeof style !== 'boolean') {
  63 |         if (isGlobal) {
> 64 |           globals.push({ name, style });
     |                                ^
  65 |         } else {
  66 |           styles += style;
  67 |           dataEmotionAttribute += ` ${name}`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant