Skip to content

Commit

Permalink
Merge pull request #127 from nicolelim02/feat/communication
Browse files Browse the repository at this point in the history
Fix ci
  • Loading branch information
guanquann authored Nov 13, 2024
2 parents e5461dd + 0d78b27 commit a516ac4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/matching-service/tests/webSocketHandler.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { type AddressInfo } from "node:net";
import ioc from "socket.io-client";
import { Server, Socket } from "socket.io";
import { MatchEvents } from "../src/handlers/websocketHandler";
import { MatchUser } from "../src/handlers/matchHandler";
import { MatchUser } from "../src/utils/types";

describe("Matching service web socket", () => {
let io: Server, serverSocket: Socket, clientSocket: SocketIOClient.Socket;
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/Chat/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ const Chat: React.FC<ChatProps> = ({ isActive, setHasNewMessage }) => {
communicationSocket.off(CommunicationEvents.DISCONNECTED, listener);
communicationSocket.off(CommunicationEvents.CONNECT_ERROR, errorListener);
};
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

useEffect(() => {
Expand Down

0 comments on commit a516ac4

Please sign in to comment.