Skip to content

Commit a516ac4

Browse files
authored
Merge pull request #127 from nicolelim02/feat/communication
Fix ci
2 parents e5461dd + 0d78b27 commit a516ac4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

backend/matching-service/tests/webSocketHandler.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { type AddressInfo } from "node:net";
33
import ioc from "socket.io-client";
44
import { Server, Socket } from "socket.io";
55
import { MatchEvents } from "../src/handlers/websocketHandler";
6-
import { MatchUser } from "../src/handlers/matchHandler";
6+
import { MatchUser } from "../src/utils/types";
77

88
describe("Matching service web socket", () => {
99
let io: Server, serverSocket: Socket, clientSocket: SocketIOClient.Socket;

frontend/src/components/Chat/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ const Chat: React.FC<ChatProps> = ({ isActive, setHasNewMessage }) => {
9292
communicationSocket.off(CommunicationEvents.DISCONNECTED, listener);
9393
communicationSocket.off(CommunicationEvents.CONNECT_ERROR, errorListener);
9494
};
95+
// eslint-disable-next-line react-hooks/exhaustive-deps
9596
}, []);
9697

9798
useEffect(() => {

0 commit comments

Comments
 (0)