diff --git a/src/actions/actionCanvas.tsx b/src/actions/actionCanvas.tsx index 1ab6101f5..cd8e5e7e9 100644 --- a/src/actions/actionCanvas.tsx +++ b/src/actions/actionCanvas.tsx @@ -316,7 +316,6 @@ export const actionErase = register({ activeTool.lastActiveToolBeforeEraser = appState.activeTool.type; } } - debugger; if (isEraserActive(appState)) { if (appState.activeTool.lastActiveToolBeforeEraser) { if ( diff --git a/src/packages/excalidraw/example/App.js b/src/packages/excalidraw/example/App.js index 8c712b81b..ddffc4e43 100644 --- a/src/packages/excalidraw/example/App.js +++ b/src/packages/excalidraw/example/App.js @@ -10,12 +10,12 @@ import { MIME_TYPES } from "../../../constants"; // This is so that we use the bundled excalidraw.development.js file instead // of the actual source code const { + Excalidraw, exportToCanvas, exportToSvg, exportToBlob, sceneCoordsToViewportCoords, -} = window.Excalidraw; -const Excalidraw = window.Excalidraw.default; +} = window.ExcalidrawLib; const STAR_SVG = ( diff --git a/src/packages/excalidraw/webpack.dev-server.config.js b/src/packages/excalidraw/webpack.dev-server.config.js index 41c40aeb1..d86c62f6d 100644 --- a/src/packages/excalidraw/webpack.dev-server.config.js +++ b/src/packages/excalidraw/webpack.dev-server.config.js @@ -9,7 +9,7 @@ const devServerConfig = { }, // Server Configuration options devServer: { - port: 3001, + //port: 3001, host: "localhost", hot: true, compress: true,