Skip to content

Commit dc8e630

Browse files
committed
fixed TS error
1 parent 31afe83 commit dc8e630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/global.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export let Global = /* #__PURE__ */ withEmotionCache<GlobalProps>(
8484

8585
let sheetRef = React.useRef<
8686
[sheet: StyleSheet, isRehydrating: boolean] | undefined
87-
>()
87+
>(undefined)
8888

8989
useInsertionEffectWithLayoutFallback(() => {
9090
const key = `${cache.key}-global`

0 commit comments

Comments
 (0)