From 10432f1b300ee49c854cd7de2bb9dd2d42ef5804 Mon Sep 17 00:00:00 2001 From: ankit-tailor Date: Thu, 19 Oct 2023 19:03:04 +0530 Subject: [PATCH] fix: platform typing --- packages/react/src/createGlobalStyles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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({