Path: blob/master/src/packages/frontend/account/account-preferences-other.tsx
2209 views
/*1* This file is part of CoCalc: Copyright © 2025 Sagemath, Inc.2* License: MS-RSL – see LICENSE.md for details3*/45import { useTypedRedux } from "@cocalc/frontend/app-framework";6import { OtherSettings, OTHER_ICON_NAME } from "./other-settings";78// Re-export the icon constant for account preferences section9export { OTHER_ICON_NAME };1011export function AccountPreferencesOther() {12const other_settings = useTypedRedux("account", "other_settings");13const stripe_customer = useTypedRedux("account", "stripe_customer");14const kucalc = useTypedRedux("customize", "kucalc");1516return (17<OtherSettings18other_settings={other_settings}19is_stripe_customer={20!!stripe_customer?.getIn(["subscriptions", "total_count"])21}22kucalc={kucalc}23mode="other"24/>25);26}272829