From 237ae97c170098f4d9afb4cc2eb8ffed1195fd73 Mon Sep 17 00:00:00 2001 From: akram Date: Wed, 28 Feb 2024 18:39:54 +0530 Subject: [PATCH] fixed build --- src/App.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 76f4910..04c9a95 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -67,7 +67,7 @@ import ZoomMenu from './modules/zoom'; import store from './store'; import { RootState } from './store/rootReducer'; import { Artboard, FixedArray, colorSpaceType, guidesRefType } from './types'; -import { generateId, getMultiplierFor4K } from './utils'; +import { generateId } from './utils'; // lazy load demo json import workflows from './data/workflows.json'; import WorkflowComponent from './modules/workflows'; @@ -447,10 +447,8 @@ function App() { }; offscreenCanvas.loadFromJSON(adjustedStateJSON, () => { offscreenCanvas.renderAll(); - // const multiplier = getMultiplierFor4K(artboardDimensions.width, artboardDimensions.height); const config = { format: 'png', - // multiplier, }; // render the offscreen canvas to a dataURL const dataURL = offscreenCanvas.toDataURL(config);