diff --git a/components/compare-form.tsx b/components/compare-form.tsx index 56c4d5a..fe89b40 100644 --- a/components/compare-form.tsx +++ b/components/compare-form.tsx @@ -39,7 +39,7 @@ export function CompareForm({ }, []); const canSubmit = Boolean(username1.trim() && username2.trim() && !loading); - const isEmpty = !username1.trim() && !username2.trim(); + const isEmpty = (!username1.trim() && !username2.trim()) && !data; const handleSwap = () => { setUsername1(username2);