Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
fix: platform typing
Browse files Browse the repository at this point in the history
  • Loading branch information
ankit-tailor committed Oct 19, 2023
1 parent 1dabe51 commit 10432f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/createGlobalStyles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 10432f1

Please sign in to comment.