mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 00:33:49 +03:00
lint
This commit is contained in:
parent
ee4c564698
commit
f6707a5c84
@ -33,7 +33,8 @@ export class DatanodesApi {
|
||||
"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",
|
||||
},
|
||||
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 (
|
||||
<div className="checkbox-field">
|
||||
<div className={`checkbox-field__checkbox ${props.checked ? 'checked' : ''}`}>
|
||||
<div
|
||||
className={`checkbox-field__checkbox ${props.checked ? "checked" : ""}`}
|
||||
>
|
||||
<input
|
||||
id={id}
|
||||
type="checkbox"
|
||||
|
Loading…
Reference in New Issue
Block a user