Chore: Remove debug console.log statements from server and client code
This commit is contained in:
1 parent
400953dfd7
commit
5ff9fd6c99
10 files changed
+8
-19
No files matched your search
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
@@ -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 });
|
||||
|
||||
Reference in new issue
Block a user