mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 05:13:29 -05:00
Merge branch 'dev' of https://github.com/equicord/equicord
This commit is contained in:
commit
e193577998
2 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ const RenderStatusMenuItem = ({ status, update, disabled }: { status: DiscordSta
|
|||
|
||||
const StatusSubMenuComponent = () => {
|
||||
let premiumType;
|
||||
if (Settings.plugins.NoNitroUpsell.enabled) {
|
||||
if (Settings.plugins.NoNitroUpsell?.enabled) {
|
||||
// @ts-ignore
|
||||
premiumType = UserStore?.getCurrentUser()?._realPremiumType ?? UserStore?.getCurrentUser()?.premiumType ?? 0;
|
||||
} else {
|
||||
|
|
|
@ -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