Skip to content

Commit

Permalink
Update README.md (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinH committed Sep 15, 2023
1 parent 422eddb commit e4e7094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -65,9 +65,9 @@ const Demo = () => {
const [crop, setCrop] = useState({ x: 0, y: 0 })
const [zoom, setZoom] = useState(1)

const onCropComplete = useCallback((croppedArea, croppedAreaPixels) => {
const onCropComplete = (croppedArea, croppedAreaPixels) => {
console.log(croppedArea, croppedAreaPixels)
}, [])
}

return (
<Cropper
Expand Down

0 comments on commit e4e7094

Please sign in to comment.