summaryrefslogtreecommitdiffhomepage
path: root/packages/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/app/src')
-rw-r--r--packages/app/src/pages/session.tsx14
1 files changed, 8 insertions, 6 deletions
diff --git a/packages/app/src/pages/session.tsx b/packages/app/src/pages/session.tsx
index fdb9f268c..3b405ef07 100644
--- a/packages/app/src/pages/session.tsx
+++ b/packages/app/src/pages/session.tsx
@@ -1102,12 +1102,14 @@ export default function Page() {
visibleUserMessages().length
store.turnStart
- const targetId = pendingMessage() ?? (() => {
- const hash = window.location.hash.slice(1)
- const match = hash.match(/^message-(.+)$/)
- if (!match) return undefined
- return match[1]
- })()
+ const targetId =
+ pendingMessage() ??
+ (() => {
+ const hash = window.location.hash.slice(1)
+ const match = hash.match(/^message-(.+)$/)
+ if (!match) return undefined
+ return match[1]
+ })()
if (!targetId) return
if (store.messageId === targetId) return