Fix strict mode editor blur bug

This commit is contained in:
Gregory Schier
2023-03-30 10:38:33 -07:00
parent 3a38127fb4
commit 5f0876a136
9 changed files with 56 additions and 29 deletions

View File

@@ -1,4 +1,3 @@
import { memo } from 'react';
import * as editor from './Editor';
export type { EditorProps } from './Editor';
@@ -6,7 +5,7 @@ export type { EditorProps } from './Editor';
// showing any content
// const editor = await import('./Editor');
export const Editor = memo(editor.Editor);
export const Editor = editor.Editor;
export const graphql = editor.graphql;
export const getIntrospectionQuery = editor.getIntrospectionQuery;
export const buildClientSchema = editor.buildClientSchema;