From 620a088c6c2ad460f7ae70e216230320f37e5df8 Mon Sep 17 00:00:00 2001 From: riri-314 Date: Tue, 18 Nov 2025 11:32:32 +0100 Subject: [PATCH] Removed debug code --- AppImage/components/settings.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/AppImage/components/settings.tsx b/AppImage/components/settings.tsx index ed482b4..0fdd85b 100644 --- a/AppImage/components/settings.tsx +++ b/AppImage/components/settings.tsx @@ -95,12 +95,9 @@ export function Settings() { const getUnitsSettings = () => { const networkUnit = localStorage.getItem("proxmenux-network-unit") || "Bytes"; - // wait 2 seconds to simulate loading console.log("[v0] Loaded network unit from localStorage:", networkUnit); - setTimeout(() => { - setNetworkUnitSettings(networkUnit); - setLoadingUnitSettings(false); - }, 1000); + setNetworkUnitSettings(networkUnit); + setLoadingUnitSettings(false); }; const checkAuthStatus = async () => {