fix(wizard): always show remove button on existing screenshots

The 'showExistingRemove' guard was totalScreenshots >= 2, meaning you
could only delete existing screenshots when at maximum capacity.
Changed to >= 1 so the trash icon appears on every existing screenshot
during edit, regardless of the total count.
This commit is contained in:
2026-06-29 00:40:12 +08:00
parent 711e80efe1
commit 2303b9eb31
@@ -295,7 +295,8 @@ export function ReviewStep({
totalScreenshots < 2 &&
submitPhase !== "uploading" &&
submitPhase !== "saving"
const showExistingRemove = totalScreenshots >= 2
const showExistingRemove = totalScreenshots >= 1
// Allow removing any existing screenshot, not only when at capacity
return (
<div className='space-y-6'>