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';