From f34e505d84cd5e22671a8ed75f8395aea9ea41f2 Mon Sep 17 00:00:00 2001 From: Connor Yoh Date: Fri, 15 Aug 2025 17:48:19 +0100 Subject: [PATCH] Type fixes --- .../components/tools/addWatermark/WatermarkStyleSettings.tsx | 2 +- frontend/src/components/tools/shared/NumberInputWithUnit.tsx | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/frontend/src/components/tools/addWatermark/WatermarkStyleSettings.tsx b/frontend/src/components/tools/addWatermark/WatermarkStyleSettings.tsx index 3da084d02..2de9335b0 100644 --- a/frontend/src/components/tools/addWatermark/WatermarkStyleSettings.tsx +++ b/frontend/src/components/tools/addWatermark/WatermarkStyleSettings.tsx @@ -1,7 +1,7 @@ import React from "react"; import { Stack, Text, NumberInput } from "@mantine/core"; import { useTranslation } from "react-i18next"; -import { AddWatermarkParameters } from "./types"; +import { AddWatermarkParameters } from "../../../hooks/tools/addWatermark/useAddWatermarkParameters"; interface WatermarkStyleSettingsProps { parameters: AddWatermarkParameters; diff --git a/frontend/src/components/tools/shared/NumberInputWithUnit.tsx b/frontend/src/components/tools/shared/NumberInputWithUnit.tsx index 207a19af3..1a7830ad1 100644 --- a/frontend/src/components/tools/shared/NumberInputWithUnit.tsx +++ b/frontend/src/components/tools/shared/NumberInputWithUnit.tsx @@ -37,11 +37,6 @@ const NumberInputWithUnit = ({ } rightSectionWidth={unit.length * 8 + 20} // Dynamic width based on unit length - styles={{ - rightSection: { - pointerEvents: 'none', - } - }} /> );