Skip to content

Commit

Permalink
Updated AutoImageClipper.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitmalhotra1420 authored May 20, 2024
1 parent 0cd54c6 commit 81c5879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/primaries/AutoImageClipper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const AutoImageClipper = (props) => {
const [crop, setCrop] = useState<CropType>({ x: 0, y: 0 });
const [zoom, setZoom] = useState<number>(1);
const [croppedAreaPixels, setCroppedAreaPixels] = useState<CroppedAreaPixels>(null);
const [setCroppedImage] = useState<string>(null);
const [croppedImage, setCroppedImage] = useState<string>(null);
const onCropComplete = useCallback((croppedArea, croppedAreaPixels) => {
setCroppedAreaPixels(croppedAreaPixels);
}, []);
Expand Down

0 comments on commit 81c5879

Please sign in to comment.