From ddd3c99f30e641e7fe52204c84321a50122b07a0 Mon Sep 17 00:00:00 2001 From: thislight Date: Thu, 17 Oct 2024 20:39:04 +0800 Subject: [PATCH] TootBottomSheet: moved to /:acct/toot/:id --- src/App.tsx | 2 +- src/timelines/Home.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 9721c84..399d257 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -53,7 +53,7 @@ const Routing: Component = () => { - + diff --git a/src/timelines/Home.tsx b/src/timelines/Home.tsx index 91ba685..88ba5bf 100644 --- a/src/timelines/Home.tsx +++ b/src/timelines/Home.tsx @@ -151,7 +151,7 @@ const Home: ParentComponent = (props) => { ); const acct = `${inf.username}@${p.account.site}`; setTootBottomSheetCache(acct, toot); - navigate(`/${encodeURIComponent(acct)}/${toot.id}`, { + navigate(`/${encodeURIComponent(acct)}/toot/${toot.id}`, { state: reply ? { tootReply: true,