You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have these two states, file is the initial one, croppedFile is passed to the component, on reset, I want to redo the crop from the file I already have, so this means to reassign the file to the cropped one state setCroppedFile(file).
I have these two states, file is the initial one, croppedFile is passed to the component, on reset, I want to redo the crop from the file I already have, so this means to reassign the file to the cropped one state
setCroppedFile(file)
.This ends up leaving
loading
on true.The text was updated successfully, but these errors were encountered: