|
|
@@ -5,6 +5,7 @@ import {
|
|
|
createSignal,
|
|
|
For,
|
|
|
Match,
|
|
|
+ on,
|
|
|
Show,
|
|
|
Switch,
|
|
|
useContext,
|
|
|
@@ -162,6 +163,9 @@ export function Session() {
|
|
|
return session()?.revert?.messageID
|
|
|
})
|
|
|
|
|
|
+ // snap to bottom when session changes
|
|
|
+ createEffect(on(() => route.sessionID, toBottom))
|
|
|
+
|
|
|
const local = useLocal()
|
|
|
|
|
|
function moveChild(direction: number) {
|