From 7ef1774767381edef18e40ae265b2fcd021b83fb Mon Sep 17 00:00:00 2001 From: Pauline Date: Wed, 7 Aug 2024 09:14:30 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20lint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pauline --- apps/desktop/src/api/commands/cluster.rs | 3 ++- apps/frontend/src/ui/pages/cluster/ClusterSettings.tsx | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/desktop/src/api/commands/cluster.rs b/apps/desktop/src/api/commands/cluster.rs index dd3724dd..73ee8c25 100644 --- a/apps/desktop/src/api/commands/cluster.rs +++ b/apps/desktop/src/api/commands/cluster.rs @@ -83,7 +83,8 @@ pub async fn edit_game_settings(uuid: Uuid, new_cluster: Cluster) -> Result<(), // Process async move { Ok(()) } - }).await?; + }) + .await?; State::sync().await?; diff --git a/apps/frontend/src/ui/pages/cluster/ClusterSettings.tsx b/apps/frontend/src/ui/pages/cluster/ClusterSettings.tsx index c37635be..c9567107 100644 --- a/apps/frontend/src/ui/pages/cluster/ClusterSettings.tsx +++ b/apps/frontend/src/ui/pages/cluster/ClusterSettings.tsx @@ -1,6 +1,6 @@ import { useBeforeLeave } from '@solidjs/router'; -import { type Accessor, type Setter, Show, createEffect, createSignal, splitProps, untrack } from 'solid-js'; -import { CpuChip01Icon, Database01Icon, EyeIcon, FilePlus02Icon, FileX02Icon, LayoutTopIcon, Maximize01Icon, ParagraphWrapIcon, VariableIcon, XIcon } from '@untitled-theme/icons-solid'; +import { type Accessor, Show, splitProps } from 'solid-js'; +import { CpuChip01Icon, Database01Icon, FilePlus02Icon, FileX02Icon, LayoutTopIcon, Maximize01Icon, ParagraphWrapIcon, VariableIcon, XIcon } from '@untitled-theme/icons-solid'; import { createSetting } from '../settings/game/SettingsMinecraft'; import ScrollableContainer from '~ui/components/ScrollableContainer'; import type { SettingsRowProps } from '~ui/components/SettingsRow';