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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using component as selectors with emotion and nextjs #370

Open
natelindev opened this issue Jun 6, 2022 · 0 comments
Open

Error when using component as selectors with emotion and nextjs #370

natelindev opened this issue Jun 6, 2022 · 0 comments

Comments

@natelindev
Copy link

natelindev commented Jun 6, 2022

馃悰 Bug Report

A clear and concise description of what the bug is.

When using xstyled with nextjs, an error will be caused TypeError: Cannot convert a Symbol value to a string

If I switch imports to @emotion/styled, it will not cause this error.

To Reproduce

Steps to reproduce the behavior:

see sandbox: https://stackblitz.com/edit/nextjs-1qcbrs?file=pages%2Findex.js

Expected behavior

the code should work as intented, no error should be thrown.

Link to repl or repo (highly encouraged)

see sandbox: https://stackblitz.com/edit/nextjs-1qcbrs?file=pages%2Findex.js

@natelindev natelindev changed the title Error when using component selectors with nextjs Error when using component as selectors with emotion and nextjs Jun 8, 2022
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