chore: 移除未使用的 loadConnectionModeTimestamp 函数

This commit is contained in:
iven
2026-04-11 14:26:52 +08:00
parent c88e3ac630
commit 05374f99b0

View File

@@ -181,17 +181,3 @@ export function loadConnectionMode(): string | null {
}
}
/**
* Load the timestamp of the persisted connection mode.
* Returns null if not set or format is legacy.
*/
export function loadConnectionModeTimestamp(): number | null {
const raw = localStorage.getItem(SAASMODE_KEY);
if (!raw) return null;
try {
const parsed = JSON.parse(raw);
return parsed.timestamp ?? null;
} catch {
return null;
}
}