Skip to content

Commit cfd1541

Browse files
committed
remove generic type from merge function
1 parent 3e03429 commit cfd1541

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/editor/src/EditorProvider.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { jsx, Context, useThemeUI, merge, Theme } from 'theme-ui'
33
import { ThemeContext as Emotion } from '@emotion/core'
44
import { EditorContextValue } from './types'
55

6-
const reducer = (state: Theme, next: Partial<Theme>) =>
7-
merge<Theme>(state, next)
6+
const reducer = (state: Theme, next: Partial<Theme>) => merge(state, next)
87

98
export interface EditorProviderProps {
109
children?: React.ReactNode

0 commit comments

Comments
 (0)