Cancel responses on startup

This commit is contained in:
Gregory Schier
2023-11-06 13:06:15 -08:00
parent bed0e034aa
commit 7657166bfa
7 changed files with 48 additions and 25 deletions

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(