Skip to content

Commit

Permalink
redeploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Dun-sin committed Oct 21, 2022
1 parent d71db56 commit e7a3f5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/src/components/Chat.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable max-len */
import { useEffect, useRef, useContext, useMemo, useState } from 'react';
import { SocketContext } from 'context/Context';

Expand Down
1 change: 1 addition & 0 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ io.on('connection', (socket) => {
);

socket.on('typing', ({ chatId, isTyping }) => {
console.log(isTyping);
socket.to(chatId).emit('display', isTyping);
});

Expand Down

1 comment on commit e7a3f5d

@vercel
Copy link

@vercel vercel bot commented on e7a3f5d Oct 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.