forked from noxious/client
Minor fix and format
This commit is contained in:
@ -82,7 +82,6 @@ const scrollToBottom = () => {
|
||||
gameStore.connection?.on(SocketEvent.CHAT_MESSAGE, (data: { character: string; message: string }) => {
|
||||
if (!data.character || !data.message) return
|
||||
|
||||
|
||||
chats.value.push({ character: data.character, message: data.message })
|
||||
scrollToBottom()
|
||||
|
||||
|
Reference in New Issue
Block a user