Next JS -стилизованные компоненты ClassName не совпадали
{
"presets": ["next/babel"],
"plugins": [["styled-components", { "ssr": true }]]
}
Cute Crossbill
{
"presets": ["next/babel"],
"plugins": [["styled-components", { "ssr": true }]]
}
Add { styledComponents: true } to your next.config.js file
const nextConfig = {
reactStrictMode: true,
compiler: { styledComponents: true },
};
module.exports = nextConfig;