Chore: Remove debug console.log statements from server and client code

This commit is contained in:
nmemmert committed 2025-12-16 13:46:55 -05:00
1 parent 400953dfd7
commit 5ff9fd6c99
10 files changed
+8 -19

No files matched your search

-2
View File
@@ -71,7 +71,6 @@ function Dashboard() {
const ws = new WebSocket(wsUrl);
ws.onopen = () => {
console.log('WebSocket connected');
// Send initial ping to keep alive
ws.send(JSON.stringify({ type: 'ping' }));
};
@@ -93,7 +92,6 @@ function Dashboard() {
};
ws.onclose = () => {
console.log('WebSocket disconnected, will use fallback polling');
wsRef.current = null;
};
-3
View File
@@ -48,9 +48,6 @@ export const formatLocalTime = (timestamp, options = {}) => {
if (timeZone) {
defaultOptions.timeZone = timeZone;
console.log('Formatting timestamp with timezone:', timeZone, 'Original:', timestamp, 'Result:', date.toLocaleString('en-US', defaultOptions));
} else {
console.warn('No server timezone found in localStorage, using browser default');
}
return date.toLocaleString('en-US', { ...defaultOptions, ...options });