Skip to content

Commit

Permalink
fix(ws): remove unused HELLO message
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Dec 11, 2023
1 parent 4accaae commit 366cfe5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/context/WebsocketConnection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,6 @@ export const Provider = ({ children }: { children: ComponentChildren }) => {
1000 * 60 * 9,
) // every 9 minutes

// Initial greeting
connection.current.send(
JSON.stringify({ message: 'sendmessage', data: 'HELLO' }),
)

return () => {
clearInterval(pingInterval)
}
Expand Down

0 comments on commit 366cfe5

Please sign in to comment.