Fix clock sync command

This commit is contained in:
Jack Kingsman
2026-03-10 15:46:34 -07:00
parent 1bf760121d
commit 42e9628d98
3 changed files with 8 additions and 11 deletions
+2 -2
View File
@@ -379,8 +379,8 @@ export function useRepeaterDashboard(
}, [sendConsoleCommand]);
const syncClock = useCallback(async () => {
const epoch = Math.floor(Date.now() / 1000);
await sendConsoleCommand(`clock ${epoch}`);
const epochSeconds = Math.floor(Date.now() / 1000);
await sendConsoleCommand(`time ${epochSeconds}`);
}, [sendConsoleCommand]);
return {