diff --git a/src/components/PricingView.tsx b/src/components/PricingView.tsx index 2e5f41b..2744961 100644 --- a/src/components/PricingView.tsx +++ b/src/components/PricingView.tsx @@ -4,12 +4,7 @@ import { useTranslation } from "react-i18next"; import getStripe from "../utils/get-stripejs"; import { fetchPostJSON } from "../utils/api-helpers"; -const includedFeatures = [ - "Private forum access", - "Member resources", - "Entry to annual conference", - "Official member t-shirt", -]; +const includedFeatures = ["Private forum access", "Member resources", "Entry to annual conference", "Official member t-shirt"]; const checkout = async () => { // Create a Checkout Session. @@ -39,19 +34,15 @@ const PricingView = () => { const { data: session, status } = useSession(); return ( -
+
-

- {t("setting.plan.pro-question-per-month")} -

+

{t("setting.plan.pro-question-per-month")}

diff --git a/src/components/SettingView.tsx b/src/components/SettingView.tsx index 04e483a..fa4bcc6 100644 --- a/src/components/SettingView.tsx +++ b/src/components/SettingView.tsx @@ -1,5 +1,6 @@ import React from "react"; import { useTranslation } from "react-i18next"; +import { HasFeature } from "../utils"; import Icon from "./Icon"; import AccountView from "./AccountView"; import PricingView from "./PricingView"; @@ -8,13 +9,12 @@ import ClearDataButton from "./ClearDataButton"; import LocaleSelector from "./LocaleSelector"; import ThemeSelector from "./ThemeSelector"; import OpenAIApiConfigView from "./OpenAIApiConfigView"; -import { HasFeature } from "../utils"; const SettingView = () => { const { t } = useTranslation(); return ( -
+
{ ``` */} -
+
- + { leaveTo="opacity-0" >
-
{/* Sidebar component, swap this element with another sidebar if you like */} -
+
@@ -116,17 +99,13 @@ const SettingPage: NextPage = () => {