Skip to content

Commit

Permalink
fix: use id to open user page from lookup
Browse files Browse the repository at this point in the history
Corrected the path to a user page when the
response is a user.
  • Loading branch information
poppingmoon committed Jun 30, 2024
1 parent d43171c commit cf05ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/view/widget/timeline_drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class TimelineDrawer extends HookConsumerWidget {
if (!context.mounted) return;
if (response.type == 'User') {
await context.push(
'/$account/users/${response.object}',
'/$account/users/${response.object['id']}',
);
} else if (response.type == 'Note') {
await context.push(
Expand Down

0 comments on commit cf05ad3

Please sign in to comment.