fix: Local message history inversion
This commit is contained in:
parent
6e60cf94b4
commit
25246247cc
@ -14,7 +14,7 @@
|
|||||||
let msg: string = $state('');
|
let msg: string = $state('');
|
||||||
|
|
||||||
function logEvent(newMsg: TypeMessage) {
|
function logEvent(newMsg: TypeMessage) {
|
||||||
log = [...log, newMsg];
|
log = [newMsg, ...log];
|
||||||
}
|
}
|
||||||
|
|
||||||
function establishSocketIOConnection() {
|
function establishSocketIOConnection() {
|
||||||
|
Loading…
Reference in New Issue
Block a user