Skip to content

Commit 63a9f0d

Browse files
committed
fixed failed npm run build
1 parent 255a02c commit 63a9f0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/nextjs/hooks/useWebSocket.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export const useWebSocket = (
104104
}
105105
};
106106
}
107-
}, [socket, currentApiUrl]); // Add currentApiUrl to dependencies
107+
}, [socket]); // Remove currentApiUrl from dependencies
108108

109109
return { socket, setSocket, initializeWebSocket };
110110
};

0 commit comments

Comments
 (0)