From 30004b656bfb61da32c33178534ab2831cf3dfca Mon Sep 17 00:00:00 2001 From: EthanHealy01 Date: Fri, 12 Sep 2025 18:01:08 +0100 Subject: [PATCH] linter --- frontend/src/components/tools/addStamp/StampPreview.tsx | 1 - frontend/src/components/tools/addStamp/StampPreviewUtils.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/components/tools/addStamp/StampPreview.tsx b/frontend/src/components/tools/addStamp/StampPreview.tsx index 4d311df96..7d94ac20f 100644 --- a/frontend/src/components/tools/addStamp/StampPreview.tsx +++ b/frontend/src/components/tools/addStamp/StampPreview.tsx @@ -187,7 +187,6 @@ export default function StampPreview({ parameters, onParameterChange, file, show if (drag.type === 'resize') { // Height is our canonical size (fontSize) - const widthPts = pageSize?.widthPts ?? 595.28; const heightPts = pageSize?.heightPts ?? 841.89; const scaleY = containerSize.height / heightPts; const newHeightPx = Math.max(1, drag.initHeight + (y - drag.startY)); diff --git a/frontend/src/components/tools/addStamp/StampPreviewUtils.ts b/frontend/src/components/tools/addStamp/StampPreviewUtils.ts index 4fd2f82e0..0cd6b8d76 100644 --- a/frontend/src/components/tools/addStamp/StampPreviewUtils.ts +++ b/frontend/src/components/tools/addStamp/StampPreviewUtils.ts @@ -56,7 +56,7 @@ export function computeStampPreviewStyle( pageSize: PageSizePts, containerSize: ContainerSize, showQuickGrid: boolean | undefined, - hoverTile: number | null, + _hoverTile: number | null, hasPageThumbnail: boolean ): StampPreviewStyle { const pageWidthPx = containerSize.width;