diff --git a/frontend/src/pages/history/ui/history.tsx b/frontend/src/pages/history/ui/history.tsx index 3d06bb1..75d0f03 100644 --- a/frontend/src/pages/history/ui/history.tsx +++ b/frontend/src/pages/history/ui/history.tsx @@ -35,7 +35,7 @@ export function History() { } } - const test = '' + if (user) { const test =
diff --git a/frontend/src/widgets/crop/crop.tsx b/frontend/src/widgets/crop/crop.tsx index 56ff384..a960a1d 100644 --- a/frontend/src/widgets/crop/crop.tsx +++ b/frontend/src/widgets/crop/crop.tsx @@ -31,7 +31,7 @@ export function CropWidget({img, setImg, onComplete}: Props): ReactElement { onComplete(); } - const onCropComplete = (croppedArea, croppedAreaPixels: Area) => { + const onCropComplete = (_: Area, croppedAreaPixels: Area) => { setArea(croppedAreaPixels) }