import { useTypedRedux } from "@cocalc/frontend/app-framework";
import { OtherSettings } from "./other-settings";
export function AccountPreferencesAI() {
const other_settings = useTypedRedux("account", "other_settings");
const stripe_customer = useTypedRedux("account", "stripe_customer");
const kucalc = useTypedRedux("customize", "kucalc");
return (
<OtherSettings
other_settings={other_settings}
is_stripe_customer={
!!stripe_customer?.getIn(["subscriptions", "total_count"])
}
kucalc={kucalc}
mode="ai"
/>
);
}