mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 05:13: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";
|
||||
|
||||
let premiumType;
|
||||
if (Settings.plugins.NoNitroUpsell.enabled) {
|
||||
if (Settings.plugins?.NoNitroUpsell?.enabled) {
|
||||
// @ts-ignore
|
||||
premiumType = UserStore?.getCurrentUser()?._realPremiumType ?? UserStore?.getCurrentUser()?.premiumType ?? 0;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue