Prevents 404 in networks tab for TRIAL users
parent
7be60b47f1
commit
7f53c4288d
|
@ -27,6 +27,7 @@ const TrialBanner = () => {
|
||||||
<Button
|
<Button
|
||||||
href="/api/upgrade"
|
href="/api/upgrade"
|
||||||
color="minimal"
|
color="minimal"
|
||||||
|
prefetch={false}
|
||||||
className="w-full justify-center border-2 border-gray-600 hover:bg-yellow-100">
|
className="w-full justify-center border-2 border-gray-600 hover:bg-yellow-100">
|
||||||
{t("upgrade_now")}
|
{t("upgrade_now")}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
|
@ -18,7 +18,7 @@ export type ButtonBaseProps = {
|
||||||
};
|
};
|
||||||
export type ButtonProps = ButtonBaseProps &
|
export type ButtonProps = ButtonBaseProps &
|
||||||
(
|
(
|
||||||
| (Omit<JSX.IntrinsicElements["a"], "href" | "onClick"> & { href: LinkProps["href"] })
|
| (Omit<JSX.IntrinsicElements["a"], "href" | "onClick"> & LinkProps)
|
||||||
| (Omit<JSX.IntrinsicElements["button"], "onClick"> & { href?: never })
|
| (Omit<JSX.IntrinsicElements["button"], "onClick"> & { href?: never })
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue