mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-10 09:49:54 +03:00
fix lint warnings
This commit is contained in:
@@ -42,7 +42,7 @@ const GenerateToken: FC<GenerateTokenProps> = ({ username, onClose }) => {
|
||||
|
||||
useEffect(() => {
|
||||
if (open) {
|
||||
getToken();
|
||||
void getToken();
|
||||
}
|
||||
}, [open, getToken]);
|
||||
|
||||
|
||||
@@ -123,7 +123,7 @@ const ManageUsersForm: FC = () => {
|
||||
|
||||
const onSubmit = async () => {
|
||||
await saveData();
|
||||
authenticatedContext.refresh();
|
||||
void authenticatedContext.refresh();
|
||||
};
|
||||
|
||||
const user_table = data.users.map((u) => ({ ...u, id: u.username }));
|
||||
|
||||
Reference in New Issue
Block a user