fix: billing plain chat working (#18530)
This commit is contained in:
1 parent
d4d5ac2b28
commit
1dbef7f8f6
2 files changed
+20
No files matched your search
@@ -14,6 +14,16 @@ interface CtaRowProps {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
Plain?: {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
init: (config: any) => void;
|
||||
open: () => void;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export const CtaRow = ({ title, description, className, children }: CtaRowProps) => {
|
||||
return (
|
||||
<>
|
||||
|
||||
@@ -13,6 +13,16 @@ import { useGetUserAttributes } from "@components/settings/platform/hooks/useGet
|
||||
|
||||
import { CtaRow } from "~/settings/billing/billing-view";
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
Plain?: {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
init: (config: any) => void;
|
||||
open: () => void;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export default function PlatformBillingUpgrade() {
|
||||
const pathname = usePathname();
|
||||
const { t } = useLocale();
|
||||
|
||||
Reference in new issue
Block a user