hey there! Where can I find the default styles f...
# support-questions-legacy
n
hey there! Where can I find the default styles for the
SuperTokensComponentNoSSR
component from the
supertokens-auth-react
npm package? I am following the Next.js integration tutorial (https://supertokens.com/docs/thirdpartyemailpassword/nextjs/setting-up-frontend). Currently it looks a bit off πŸ˜„ Since the elements have css classes (e.g.
css-vi7c3o
) it seems like there must be a default style?
r
Hey!
Are there any errors in the browser console?
n
No only a few warnings related to emotion - is the component using emotion?
r
Yea. It is.
There should be an issue about this on our auth-react GitHub repo. It also has a solution.
If you can’t find it, lmk. I’ll link to it
n
Okay it seems like a dependency range issue πŸ˜„ We pinned an older version of
@emotion/react
, so multiple instances were installed. After increasing our range to satisfy higher versions only a single
@emotion/react
package is installed. Thank you for the right pointers! _ https://github.com/supertokens/supertokens-auth-react/issues/418
r
happy to help πŸ™‚
it might have a good solution for this issue
n
we are currently in the process of ditching emotion completely πŸ˜„
Have you considered moving off emotion, for a leaner solution?
r
yup. Totally.. we too are in the process of doing that. hehe
3 Views