Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
gempir committed Mar 3, 2024
1 parent 9ce57f9 commit 1018c26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/components/George/George.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ export function George() {
}, 1000);
doReq(req, (text: string) => {
clearInterval(loadRef.current);
setResp(text.trim());
if (text === "@DONE") {
setLoading(false);
return;
}
setResp(text.trim());
});
}

Expand Down

0 comments on commit 1018c26

Please sign in to comment.