From 208846001bb9c054ac4675a9f050ddc90d009596 Mon Sep 17 00:00:00 2001 From: Matt Aitken Date: Fri, 5 Jul 2024 19:43:30 +0100 Subject: [PATCH] Moved the UpgradePrompt to the v3 folder --- .../webapp/app/components/billing/{v2 => v3}/UpgradePrompt.tsx | 0 apps/webapp/app/components/layout/AppLayout.tsx | 2 +- apps/webapp/app/components/primitives/PageHeader.tsx | 3 +-- 3 files changed, 2 insertions(+), 3 deletions(-) rename apps/webapp/app/components/billing/{v2 => v3}/UpgradePrompt.tsx (100%) diff --git a/apps/webapp/app/components/billing/v2/UpgradePrompt.tsx b/apps/webapp/app/components/billing/v3/UpgradePrompt.tsx similarity index 100% rename from apps/webapp/app/components/billing/v2/UpgradePrompt.tsx rename to apps/webapp/app/components/billing/v3/UpgradePrompt.tsx diff --git a/apps/webapp/app/components/layout/AppLayout.tsx b/apps/webapp/app/components/layout/AppLayout.tsx index 815cc230d..e6345204a 100644 --- a/apps/webapp/app/components/layout/AppLayout.tsx +++ b/apps/webapp/app/components/layout/AppLayout.tsx @@ -1,6 +1,6 @@ import { useOptionalOrganization } from "~/hooks/useOrganizations"; import { cn } from "~/utils/cn"; -import { useShowUpgradePrompt } from "../billing/v2/UpgradePrompt"; +import { useShowUpgradePrompt } from "../billing/v3/UpgradePrompt"; /** This container is used to surround the entire app, it correctly places the nav bar */ export function AppContainer({ children }: { children: React.ReactNode }) { diff --git a/apps/webapp/app/components/primitives/PageHeader.tsx b/apps/webapp/app/components/primitives/PageHeader.tsx index 57bf02420..93edabe75 100644 --- a/apps/webapp/app/components/primitives/PageHeader.tsx +++ b/apps/webapp/app/components/primitives/PageHeader.tsx @@ -2,8 +2,7 @@ import { ArrowUpRightIcon } from "@heroicons/react/20/solid"; import { Link, useNavigation } from "@remix-run/react"; import { useOptionalOrganization } from "~/hooks/useOrganizations"; import { cn } from "~/utils/cn"; -import { plansPath } from "~/utils/pathBuilder"; -import { UpgradePrompt, useShowUpgradePrompt } from "../billing/v2/UpgradePrompt"; +import { UpgradePrompt, useShowUpgradePrompt } from "../billing/v3/UpgradePrompt"; import { BreadcrumbIcon } from "./BreadcrumbIcon"; import { LinkButton } from "./Buttons"; import { Header2 } from "./Headers";