This commit is contained in:
Hachi-R 2025-01-16 11:30:24 -03:00
parent ee4c564698
commit f6707a5c84
2 changed files with 5 additions and 2 deletions

View File

@ -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,
}
);

View File

@ -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"