Reporter Fix

This commit is contained in:
thororen1234 2024-12-09 13:43:40 -05:00
parent f1025e6b77
commit 8941a2bbb7

View file

@ -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 {