Skip to content

Commit 5909580

Browse files
committed
one extra thing
1 parent 4042de8 commit 5909580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/theming.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export type WithTheme<P, T> = P extends { theme: infer Theme }
2020
? P & { theme: Exclude<Theme, undefined> }
2121
: P & { theme: T }
2222

23-
export const ThemeContext = /* #__PURE__ */ React.createContext<Theme>({})
23+
export const ThemeContext = /* #__PURE__ */ React.createContext({} as Theme)
2424
if (isDevelopment) {
2525
ThemeContext.displayName = 'EmotionThemeContext'
2626
}

0 commit comments

Comments
 (0)