Skip to content

Commit

Permalink
No need to reset state here
Browse files Browse the repository at this point in the history
  • Loading branch information
n9lsjr committed Nov 13, 2024
1 parent 04567a5 commit 1f8909b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes/rooms/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@ async function printRoom(room, create = false) {
loader = true
await sleep(1337)
}
const active = $swarm.active.find(a => a.key === room.key)
$rooms.thisRoom.topic = active.topic
Expand All @@ -293,7 +295,6 @@ async function printRoom(room, create = false) {
replyExit()
scrollDown()
loader = false
$rooms = $rooms
}
function addFileMessage(array) {
Expand Down

0 comments on commit 1f8909b

Please sign in to comment.