mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-24 23:19:39 -05:00
Fix inverted condition
This commit is contained in:
parent
061db4d2e2
commit
1ea776dfaf
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user