mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-20 15:31:37 +01:00
Cancel responses on startup
This commit is contained in:
1 parent
655f5a8eed
commit
6ccc42dc3f
7 files changed
+48
-25
No files matched your search
@@ -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