TootBottomSheet: fix context switch wrong target

This commit is contained in:
thislight 2024-10-18 18:13:07 +08:00
parent 657c886fab
commit e9c39492ec
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E

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