diff --git a/components/EditorPanel.tsx b/components/EditorPanel.tsx index 785bb9f..ea07a08 100644 --- a/components/EditorPanel.tsx +++ b/components/EditorPanel.tsx @@ -107,7 +107,7 @@ export default function({ useEffect(() => { // @ts-ignore - window.__webpack_public_path__ = "/static/"; + window.__webpack_public_path__ = "/_next/static/"; }, []); const getSettings = useCallback( @@ -182,8 +182,6 @@ export default function({ setValue(defaultValue); }, [defaultValue]); - console.log(showPreview); - return ( { @@ -69,6 +53,11 @@ export default class MyDocument extends Document {
{hydrationScript} + +