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

Commit

Permalink
Merge pull request #493 from gluestack/release/@gluestack-style/react…
Browse files Browse the repository at this point in the history
…@1.0.8

fix: platform typing
  • Loading branch information
ankit-tailor authored Oct 20, 2023
2 parents 1e0c206 + 10432f1 commit 7481d44
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 7481d44

Please sign in to comment.