TootBottomSheet: fix context switch wrong target

This commit is contained in:
thislight 2024-10-18 18:13:07 +08:00
parent da60702403
commit 54db6d4fbe

View file

@ -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,
},