We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e03429 commit cfd1541Copy full SHA for cfd1541
packages/editor/src/EditorProvider.ts
@@ -3,8 +3,7 @@ import { jsx, Context, useThemeUI, merge, Theme } from 'theme-ui'
3
import { ThemeContext as Emotion } from '@emotion/core'
4
import { EditorContextValue } from './types'
5
6
-const reducer = (state: Theme, next: Partial<Theme>) =>
7
- merge<Theme>(state, next)
+const reducer = (state: Theme, next: Partial<Theme>) => merge(state, next)
8
9
export interface EditorProviderProps {
10
children?: React.ReactNode
0 commit comments