From 54db6d4fbe968440daea59b0866368ae44e12b48 Mon Sep 17 00:00:00 2001 From: thislight Date: Fri, 18 Oct 2024 18:13:07 +0800 Subject: [PATCH] TootBottomSheet: fix context switch wrong target --- src/timelines/TootBottomSheet.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timelines/TootBottomSheet.tsx b/src/timelines/TootBottomSheet.tsx index 06add1c..b917c10 100644 --- a/src/timelines/TootBottomSheet.tsx +++ b/src/timelines/TootBottomSheet.tsx @@ -161,7 +161,7 @@ const TootBottomSheet: Component = (props) => { return; } setCache(params.acct, status); - navigate(`/${params.acct}/${status.id}`, { + navigate(`/${params.acct}/toot/${status.id}`, { state: { tootBottomSheetPushedCount: pushedCount() + 1, },