Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
stCarolas committed Jan 24, 2025
1 parent 8514c8b commit 8ddd71c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/pages/RutonyChat/RutonyChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,7 @@ export default function DonatonWidget({}) {
log.debug({ message: message, }, "Received message");
})

return () => {
log.debug("Closing socket");
socket.close;
}

return socket.close;
}, [widgetId]);

return <>{socket && <p>Connected to ws://127.0.0.1:8383/Donate</p>}</>;
Expand Down

0 comments on commit 8ddd71c

Please sign in to comment.