From 7f53c4288d348d05fc2a29943009b140532cf685 Mon Sep 17 00:00:00 2001 From: zomars Date: Fri, 24 Jun 2022 09:27:52 -0600 Subject: [PATCH] Prevents 404 in networks tab for TRIAL users --- apps/web/ee/components/TrialBanner.tsx | 1 + packages/ui/Button.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/ee/components/TrialBanner.tsx b/apps/web/ee/components/TrialBanner.tsx index 6c6ccacb02..1ec16ceb99 100644 --- a/apps/web/ee/components/TrialBanner.tsx +++ b/apps/web/ee/components/TrialBanner.tsx @@ -27,6 +27,7 @@ const TrialBanner = () => { diff --git a/packages/ui/Button.tsx b/packages/ui/Button.tsx index 93a0dc864d..9898ac30e2 100644 --- a/packages/ui/Button.tsx +++ b/packages/ui/Button.tsx @@ -18,7 +18,7 @@ export type ButtonBaseProps = { }; export type ButtonProps = ButtonBaseProps & ( - | (Omit & { href: LinkProps["href"] }) + | (Omit & LinkProps) | (Omit & { href?: never }) );