fix(eslint): rules included deprecated plugin

This commit is contained in:
Paul Makles
2022-06-12 19:38:29 +01:00
parent 56770d40df
commit c1324108e3
24 changed files with 122 additions and 61 deletions

View File

@@ -336,9 +336,9 @@ export const generateVariables = (theme: Theme) => {
if (colour) {
const [r, g, b] = colour;
return `--${key}: ${theme[key]}; --${key}-rgb: ${r}, ${g}, ${b};`;
} else {
}
return `--${key}: ${theme[key]};`;
}
});
};

View File

@@ -149,9 +149,9 @@ export default function MFAFlow({ onClose, ...props }: ModalProps<"mfa_flow">) {
if (methods!.length === 1) {
props.callback();
return true;
} else {
}
setSelected(undefined);
}
},
},
]

View File

@@ -72,7 +72,7 @@ export async function uploadFile(
return res.data.id;
}
var input: HTMLInputElement;
let input: HTMLInputElement;
export function grabFiles(
maxFileSize: number,
cb: (files: File[]) => void,