fix(chat): restore direct voice unlock subscription

This commit is contained in:
2026-06-25 17:18:41 +08:00
parent b8ee286b76
commit 949b2ef00d
2 changed files with 7 additions and 25 deletions
+2 -2
View File
@@ -13,14 +13,12 @@ import {
UserHeader,
type SidebarUserState,
VipBenefitsCard,
VoicePackageCard,
} from "./components";
import styles from "./components/sidebar-screen.module.css";
const FALLBACK_USERNAME = "User name";
const VIP_SUBSCRIPTION_URL = `${ROUTES.subscription}?type=vip`;
const VOICE_SUBSCRIPTION_URL = `${ROUTES.subscription}?type=voice`;
/**
* 侧边栏主屏幕
@@ -82,6 +80,7 @@ export function SidebarScreen() {
/>
</section>
{/*
<section className={styles.cardSlot}>
<VoicePackageCard
usedMinutes={0}
@@ -89,6 +88,7 @@ export function SidebarScreen() {
onBuyPackage={() => router.push(VOICE_SUBSCRIPTION_URL)}
/>
</section>
*/}
{sidebarState !== "guest" ? (
<section className={styles.settingsSlot}>