mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-08 12:16:12 -05:00
Fix inverted condition
This commit is contained in:
@@ -516,7 +516,7 @@ function PWALinks() {
|
||||
}
|
||||
|
||||
function MyRamp({ data }: { data: RootLoaderData | undefined }) {
|
||||
if (!data || !data.user?.roles.includes("MINOR_SUPPORT")) {
|
||||
if (!data || data.user?.roles.includes("MINOR_SUPPORT")) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user