diff --git a/frontend/src/components/tools/crop/CropSettings.tsx b/frontend/src/components/tools/crop/CropSettings.tsx index 493fe1890..dafcdeaab 100644 --- a/frontend/src/components/tools/crop/CropSettings.tsx +++ b/frontend/src/components/tools/crop/CropSettings.tsx @@ -6,7 +6,7 @@ import { CropParametersHook } from "../../../hooks/tools/crop/useCropParameters" import { useSelectedFiles } from "../../../contexts/file/fileHooks"; import CropAreaSelector from "./CropAreaSelector"; import { DEFAULT_CROP_AREA } from "../../../constants/cropConstants"; -import { PAGE_SIZES } from "src/constants/pageSizeConstants"; +import { PAGE_SIZES } from "../../../constants/pageSizeConstants"; import { calculatePDFBounds, PDFBounds, diff --git a/frontend/src/hooks/tools/crop/useCropParameters.ts b/frontend/src/hooks/tools/crop/useCropParameters.ts index fdfa6f453..d16cb5af5 100644 --- a/frontend/src/hooks/tools/crop/useCropParameters.ts +++ b/frontend/src/hooks/tools/crop/useCropParameters.ts @@ -2,7 +2,7 @@ import { BaseParameters } from '../../../types/parameters'; import { useBaseParameters, BaseParametersHook } from '../shared/useBaseParameters'; import { useCallback } from 'react'; import { Rectangle, PDFBounds, constrainCropAreaToPDF, createFullPDFCropArea, roundCropArea, isRectangle } from '../../../utils/cropCoordinates'; -import { DEFAULT_CROP_AREA } from 'src/constants/cropConstants'; +import { DEFAULT_CROP_AREA } from '../../../constants/cropConstants'; export interface CropParameters extends BaseParameters { cropArea: Rectangle;