🐛 Fix error when went to publisher page from account page

This commit is contained in:
2025-01-25 14:27:09 +08:00
parent cbd1eaf1af
commit 950612dc07
4 changed files with 19 additions and 12 deletions

View File

@ -596,7 +596,7 @@ class _UserScreenState extends State<UserScreen> with SingleTickerProviderStateM
subtitle: Text('@${ele.name}'),
trailing: const Icon(Symbols.chevron_right),
onTap: () {
GoRouter.of(context).pushNamed(
GoRouter.of(context).goNamed(
'postPublisher',
pathParameters: {'name': ele.name},
);