mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-19 12:06:17 +00:00
Removed debug code
This commit is contained in:
@@ -95,12 +95,9 @@ export function Settings() {
|
|||||||
const getUnitsSettings = () => {
|
const getUnitsSettings = () => {
|
||||||
const networkUnit =
|
const networkUnit =
|
||||||
localStorage.getItem("proxmenux-network-unit") || "Bytes";
|
localStorage.getItem("proxmenux-network-unit") || "Bytes";
|
||||||
// wait 2 seconds to simulate loading
|
|
||||||
console.log("[v0] Loaded network unit from localStorage:", networkUnit);
|
console.log("[v0] Loaded network unit from localStorage:", networkUnit);
|
||||||
setTimeout(() => {
|
setNetworkUnitSettings(networkUnit);
|
||||||
setNetworkUnitSettings(networkUnit);
|
setLoadingUnitSettings(false);
|
||||||
setLoadingUnitSettings(false);
|
|
||||||
}, 1000);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const checkAuthStatus = async () => {
|
const checkAuthStatus = async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user