Type fixes

This commit is contained in:
Connor Yoh 2025-08-15 17:48:19 +01:00
parent a17326ab27
commit f34e505d84
2 changed files with 1 additions and 6 deletions

View File

@ -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;

View File

@ -37,11 +37,6 @@ const NumberInputWithUnit = ({
</Text>
}
rightSectionWidth={unit.length * 8 + 20} // Dynamic width based on unit length
styles={{
rightSection: {
pointerEvents: 'none',
}
}}
/>
</Stack>
);