mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-04-21 13:51:59 +02:00
Fix children being undefined on HMR uploads. (#5094)
This commit is contained in:
parent
e18879e728
commit
a10cb2564a
@ -101,7 +101,7 @@ export const Slate = (props: {
|
||||
return (
|
||||
<SlateSelectorContext.Provider value={selectorContext}>
|
||||
<SlateContext.Provider value={context}>
|
||||
<EditorContext.Provider value={editor}>
|
||||
<EditorContext.Provider value={context.editor}>
|
||||
<FocusedContext.Provider value={isFocused}>
|
||||
{children}
|
||||
</FocusedContext.Provider>
|
||||
|
Loading…
x
Reference in New Issue
Block a user