fix id state when using new convo
This commit is contained in:
parent
e45fde5178
commit
d657937ff4
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ function conversationUI(id: string) {
|
|||
|
||||
if ("i" in message) {
|
||||
window.history.replaceState(null, "", "#" + message.i);
|
||||
id = message.i;
|
||||
} else if ("u" in message) {
|
||||
chatlog.append(<article className="user">{message.u}</article>);
|
||||
} else if ("f" in message) {
|
||||
|
|
Loading…
Reference in a new issue