diff --git a/packages/react/src/createGlobalStyles.ts b/packages/react/src/createGlobalStyles.ts index f072fd9e..558e501c 100644 --- a/packages/react/src/createGlobalStyles.ts +++ b/packages/react/src/createGlobalStyles.ts @@ -3,7 +3,7 @@ import { stableHash } from './stableHash'; import { resolvePlatformTheme } from './styled'; import { updateOrderUnResolvedMap } from './updateOrderUnResolvedMap'; -export const createGlobalStyles = (globalStyle: object, Platform) => { +export const createGlobalStyles = (globalStyle: object, Platform: any) => { const versboseComponentTheme = convertStyledToStyledVerbosed(globalStyle); resolvePlatformTheme(versboseComponentTheme, Platform.OS); const componentHash = stableHash({