mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-09 03:37:45 +03:00
lint
This commit is contained in:
parent
ee4c564698
commit
f6707a5c84
@ -33,7 +33,8 @@ export class DatanodesApi {
|
|||||||
"User-Agent":
|
"User-Agent":
|
||||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36",
|
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36",
|
||||||
},
|
},
|
||||||
maxRedirects: 0, validateStatus: (status: number) => status === 302 || status < 400,
|
maxRedirects: 0,
|
||||||
|
validateStatus: (status: number) => status === 302 || status < 400,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -15,7 +15,9 @@ export function CheckboxField({ label, ...props }: CheckboxFieldProps) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="checkbox-field">
|
<div className="checkbox-field">
|
||||||
<div className={`checkbox-field__checkbox ${props.checked ? 'checked' : ''}`}>
|
<div
|
||||||
|
className={`checkbox-field__checkbox ${props.checked ? "checked" : ""}`}
|
||||||
|
>
|
||||||
<input
|
<input
|
||||||
id={id}
|
id={id}
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
|
Loading…
Reference in New Issue
Block a user