From f9e2116b1abbb5408cddce8b4165a7937a781e9d Mon Sep 17 00:00:00 2001 From: perol Date: Thu, 4 Jul 2024 15:17:59 +0800 Subject: [PATCH] fix user page 404 --- lib/page/user/users_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/page/user/users_page.dart b/lib/page/user/users_page.dart index 46e57304..995ccf46 100644 --- a/lib/page/user/users_page.dart +++ b/lib/page/user/users_page.dart @@ -152,7 +152,7 @@ class _UsersPageState extends State 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(),