Skip to content

Commit b6d147e

Browse files
committed
fix: remove explicit prevent default now that I'm passing the event to the built in handler
1 parent c457ddf commit b6d147e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/chat/chat.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ export default function Chat({
1515
<form
1616
id="chat-form"
1717
onSubmit={(event) => {
18-
event.preventDefault();
19-
2018
sendChatMessageEvent({
2119
message: input,
2220
});

0 commit comments

Comments
 (0)