material-kit-react icon indicating copy to clipboard operation
material-kit-react copied to clipboard

Type error: Type 'string | undefined' is not assignable to type 'string'.

Open palmurugan opened this issue 9 months ago • 0 comments

Type error: Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'.

./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}; Next.js build worker exited with code: 1 and signal: null

palmurugan avatar Feb 20 '25 06:02 palmurugan