mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-19 16:21:13 +01:00
Cancel responses on startup
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user