diff --git a/examples/landing/next.config.js b/examples/landing/next.config.js index d7b8e340a..ea48d4656 100644 --- a/examples/landing/next.config.js +++ b/examples/landing/next.config.js @@ -1,3 +1,4 @@ module.exports = { - assetPrefix: process.env.NODE_ENV === 'production' ? '/examples/landing' : '/', + assetPrefix: + process.env.NODE_ENV === 'production' ? '/examples/landing' : '/', }; diff --git a/packages/core/src/editor/Editor.tsx b/packages/core/src/editor/Editor.tsx index a0d3a6cc3..721bcb576 100644 --- a/packages/core/src/editor/Editor.tsx +++ b/packages/core/src/editor/Editor.tsx @@ -74,7 +74,7 @@ export const Editor: React.FC>> = ({ // sync enabled prop with editor store options useEffect(() => { - if (!context || !options) { + if (!context) { return; }