Skip to content

Commit

Permalink
fix user page 404
Browse files Browse the repository at this point in the history
  • Loading branch information
Notsfsssf committed Jul 4, 2024
1 parent 67896bf commit f9e2116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/page/user/users_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class _UsersPageState extends State<UsersPage> with TickerProviderStateMixin {
}
}

if (userStore.errorMessage != null && userStore.user != null) {
if (userStore.errorMessage != null && userStore.user == null) {
if (userStore.errorMessage!.contains("404"))
return Scaffold(
appBar: AppBar(),
Expand Down

0 comments on commit f9e2116

Please sign in to comment.