refactor(sidebar): comment out user info section and membership option
This commit is contained in:
@@ -76,7 +76,7 @@ export function SidebarScreen() {
|
||||
<div className={styles.shell}>
|
||||
<BackBar />
|
||||
|
||||
{/* 用户信息区:三种状态 */}
|
||||
{/* 用户信息区:三种状态
|
||||
<section className={styles.userSlot}>
|
||||
<UserHeader
|
||||
state={sidebarState}
|
||||
@@ -100,18 +100,18 @@ export function SidebarScreen() {
|
||||
totalMinutes={0}
|
||||
onBuyPackage={() => router.push(ROUTES.subscription)}
|
||||
/>
|
||||
</section>
|
||||
</section> */}
|
||||
|
||||
{sidebarState !== "guest" ? (
|
||||
<section className={styles.settingsSlot}>
|
||||
<SettingsSection
|
||||
title="Other"
|
||||
items={[
|
||||
{
|
||||
id: "membership",
|
||||
title: "Membership",
|
||||
onClick: () => router.push(ROUTES.subscription),
|
||||
},
|
||||
// {
|
||||
// id: "membership",
|
||||
// title: "Membership",
|
||||
// onClick: () => router.push(ROUTES.subscription),
|
||||
// },
|
||||
{
|
||||
id: "logout",
|
||||
title: "Log out",
|
||||
|
||||
Reference in New Issue
Block a user