Cancel responses on startup

This commit is contained in:
Gregory Schier committed 2023-11-06 13:06:15 -08:00
1 parent 655f5a8eed
commit 6ccc42dc3f
7 files changed
+48 -25

No files matched your search

+2 -2
View File
@@ -8,8 +8,8 @@ interface Props {
}
export function StatusTag({ response, className, showReason }: Props) {
const { status, error } = response;
const label = error ? 'ERR' : status;
const { status } = response;
const label = status < 100 ? 'ERR' : status;
return (
<span
className={classNames(