mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-07 19:55:46 -05:00
Fix can edit profile logic
This commit is contained in:
@@ -79,9 +79,9 @@ const ProfilePage = (props: Props) => {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (user.patreonTier ?? -1 < 2) return false;
|
||||
if ((user.patreonTier ?? -1) >= 2) return true;
|
||||
|
||||
return true;
|
||||
return false;
|
||||
})();
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user