清理机构落地页中未使用的 useState 状态
移除 billingCycle 状态及对应 import。
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { useState } from "react";
|
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import {
|
import {
|
||||||
Activity,
|
Activity,
|
||||||
@@ -75,7 +74,6 @@ const PRO_FEATURES_ZH = [
|
|||||||
function InstitutionalLandingScreen() {
|
function InstitutionalLandingScreen() {
|
||||||
const { locale, toggleLocale } = useI18n();
|
const { locale, toggleLocale } = useI18n();
|
||||||
const isEn = locale === "en-US";
|
const isEn = locale === "en-US";
|
||||||
const [billingCycle, setBillingCycle] = useState<"annual" | "monthly">("monthly");
|
|
||||||
|
|
||||||
const marketRows = isEn ? RAW_MARKET_ROWS_EN : RAW_MARKET_ROWS_ZH;
|
const marketRows = isEn ? RAW_MARKET_ROWS_EN : RAW_MARKET_ROWS_ZH;
|
||||||
const coverage = isEn ? COVERAGE_EN : COVERAGE_ZH;
|
const coverage = isEn ? COVERAGE_EN : COVERAGE_ZH;
|
||||||
|
|||||||
Reference in New Issue
Block a user