Skip to content

Commit

Permalink
Server side of the project is completed
Browse files Browse the repository at this point in the history
  • Loading branch information
VamshiReddy02 committed Oct 7, 2023
1 parent 13e68dd commit a1c0361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const Editor = () => {

useEffect(() => {
if (socket == null || quill == null) return
const handler = (delta, oldDelta, source) => {
const handler = (delta, source) => {
if (source !== 'user') return
socket.emit('send-changes', delta)
}
Expand Down

0 comments on commit a1c0361

Please sign in to comment.