mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
fix(eslint): rules included deprecated plugin
This commit is contained in:
@@ -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]};`;
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -149,9 +149,9 @@ export default function MFAFlow({ onClose, ...props }: ModalProps<"mfa_flow">) {
|
||||
if (methods!.length === 1) {
|
||||
props.callback();
|
||||
return true;
|
||||
} else {
|
||||
}
|
||||
setSelected(undefined);
|
||||
}
|
||||
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user