From a85333c7d68c48cb24ca3608fb76f131ae62ca39 Mon Sep 17 00:00:00 2001 From: akram Date: Mon, 29 Jan 2024 09:07:29 +0530 Subject: [PATCH] fix : export issue --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index e8467b9..ab7b8f3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -427,7 +427,7 @@ function App() { const artboardLeftAdjustment = artboardPosition.left; const artboardTopAdjustment = artboardPosition.top; - if (!artboardLeftAdjustment || !artboardTopAdjustment) { + if (artboardLeftAdjustment === undefined || artboardTopAdjustment === undefined) { return; } const artboardDimensions = getArtboardDimensions(canvasRef.current, activeArtboardId);