mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-18 06:49:50 +02:00
Fix build
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import { memo } from 'react';
|
||||
import * as editor from './Editor';
|
||||
|
||||
export type { EditorProps } from './Editor';
|
||||
const editor = await import('./Editor');
|
||||
// TODO: Figure out why code-splitting breaks production build from
|
||||
// showing any content
|
||||
// const editor = await import('./Editor');
|
||||
|
||||
export const Editor = memo(editor.Editor);
|
||||
export const graphql = editor.graphql;
|
||||
|
||||
Reference in New Issue
Block a user