Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/forms/image-upload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,9 @@ export default function ImageCreate() {
// now delete the snapshot and the disk. don't use cleanup() because that
// uses different mutations
await deleteSnapshot.mutateAsync({ path: { snapshot: snapshot.current.id } })
snapshot.current = null
await deleteDisk.mutateAsync({ path: { disk: disk.current.id } })
disk.current = null

setAllDone(true)
}
Expand Down
Loading