Skip to content

Commit

Permalink
fail state
Browse files Browse the repository at this point in the history
  • Loading branch information
gempir committed Mar 4, 2024
1 parent ac1a91e commit e4a1619
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions web/src/hooks/useGeorge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ export const useGeorge = (): [RequestFunc, AbortController] => {
onText(result);
}
}

// something failed
if (!queryDone) {
onText(result);
}
};

return [request, controller.current];
Expand Down

0 comments on commit e4a1619

Please sign in to comment.