Fix more lint issues

This commit is contained in:
2025-05-23 23:29:29 +02:00
parent 2519d46061
commit 623f619f88
2 changed files with 6 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ const WorkspaceSwitcher: React.FC = () => {
newWorkspace: Workspace
): Promise<void> => {
await loadWorkspaces();
switchWorkspace(newWorkspace.name);
await switchWorkspace(newWorkspace.name);
};
return (
@@ -67,7 +67,7 @@ const WorkspaceSwitcher: React.FC = () => {
onClick={() => {
setPopoverOpened((o) => !o);
if (!popoverOpened) {
loadWorkspaces();
void loadWorkspaces();
}
}}
>
@@ -128,7 +128,7 @@ const WorkspaceSwitcher: React.FC = () => {
<UnstyledButton
style={{ flex: 1 }}
onClick={() => {
switchWorkspace(workspace.name);
void switchWorkspace(workspace.name);
setPopoverOpened(false);
}}
>