mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-30 19:23:29 -05:00
Reporter Fix
This commit is contained in:
parent
f1025e6b77
commit
8941a2bbb7
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ import { applyPalette, GIFEncoder, quantize } from "gifenc";
|
||||||
import type { ReactElement, ReactNode } from "react";
|
import type { ReactElement, ReactNode } from "react";
|
||||||
|
|
||||||
let premiumType;
|
let premiumType;
|
||||||
if (Settings.plugins.NoNitroUpsell.enabled) {
|
if (Settings.plugins?.NoNitroUpsell?.enabled) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
premiumType = UserStore?.getCurrentUser()?._realPremiumType ?? UserStore?.getCurrentUser()?.premiumType ?? 0;
|
premiumType = UserStore?.getCurrentUser()?._realPremiumType ?? UserStore?.getCurrentUser()?.premiumType ?? 0;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue