Fix bad reference when image picker is canceled (#1598)
This commit is contained in:
@@ -69,6 +69,9 @@ export function UserBanner({
|
||||
return
|
||||
}
|
||||
const items = await openPicker()
|
||||
if (!items[0]) {
|
||||
return
|
||||
}
|
||||
|
||||
onSelectNewBanner?.(
|
||||
await openCropper(store, {
|
||||
|
||||
Reference in New Issue
Block a user