Skip to content

Commit ec441b7

Browse files
authored
Merge pull request #239 from graphcool/fix/withTheme
fix: change context.localTheme.localTheme to context.localTheme.theme
2 parents 1c5120b + a9ecad4 commit ec441b7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/graphql-playground/src/components/Theme/withTheme.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ function withTheme<Props = {}>(Component): React.ComponentClass<Props> {
2727

2828
render() {
2929
return (
30-
<Component
31-
localTheme={this.context.localTheme.localTheme}
32-
{...this.props}
33-
/>
30+
<Component localTheme={this.context.localTheme.theme} {...this.props} />
3431
)
3532
}
3633
}

0 commit comments

Comments
 (0)