diff --git a/apps/ai/package.json b/apps/ai/package.json index b3c705a9..a51bb48c 100644 --- a/apps/ai/package.json +++ b/apps/ai/package.json @@ -64,7 +64,6 @@ "react-confetti": "^6.1.0", "react-dom": "^18.2.0", "react-hook-form": "^7.49.3", - "react-wrap-balancer": "^1.1.0", "resend": "^2.1.0", "slugify": "^1.6.6", "stripe": "^14.12.0", diff --git a/apps/ai/src/app/(domain)/[domain]/[slug]/page.tsx b/apps/ai/src/app/(domain)/[domain]/[slug]/page.tsx index b598dda1..de5378fe 100644 --- a/apps/ai/src/app/(domain)/[domain]/[slug]/page.tsx +++ b/apps/ai/src/app/(domain)/[domain]/[slug]/page.tsx @@ -58,6 +58,8 @@ export async function generateMetadata({ }, ], }, + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore TODO: This is erroring occassionaly due to env.js ...(params.domain.endsWith(`.${env.NEXT_PUBLIC_ROOT_DOMAIN}`) && siteData.customDomain && { alternates: { diff --git a/apps/ai/src/app/(routes)/(marketing)/not-authorized/page.tsx b/apps/ai/src/app/(routes)/(marketing)/not-authorized/page.tsx index 9c9a2bf5..dc2f653e 100644 --- a/apps/ai/src/app/(routes)/(marketing)/not-authorized/page.tsx +++ b/apps/ai/src/app/(routes)/(marketing)/not-authorized/page.tsx @@ -1,7 +1,6 @@ import type { Metadata } from 'next'; import Link from 'next/link'; -import Balancer from 'react-wrap-balancer'; import { cn } from '@av/ui'; import { buttonVariants } from '@av/ui/button'; @@ -22,13 +21,11 @@ const NotAuthorizedPage = () => {

A little bit Alexis

- -

- Looks like you've taken a wrong turn on the way to Café - Tropical. A mistake you say? Contact Stevie at the front desk for - assistance. Just don't ask for a wake-up call. -

-
+

+ Looks like you've taken a wrong turn on the way to Café Tropical. + A mistake you say? Contact Stevie at the front desk for assistance. + Just don't ask for a wake-up call. +

-

+

{title}

{description && ( -

+

{description}

)} diff --git a/apps/ai/src/components/marketing/pricing-cards.tsx b/apps/ai/src/components/marketing/pricing-cards.tsx index 205938b2..9dcf5b36 100644 --- a/apps/ai/src/components/marketing/pricing-cards.tsx +++ b/apps/ai/src/components/marketing/pricing-cards.tsx @@ -3,7 +3,6 @@ import type { TeamSubscriptionPlan } from '#/lib/types'; import { useCallback, useState } from 'react'; -import Balancer from 'react-wrap-balancer'; import { cn } from '@av/ui'; import { Switch } from '@av/ui/switch'; @@ -85,19 +84,17 @@ export function PricingCards({ ))}
-

- - Reach out to our{' '} - - Support Team - {' '} - if you have any questions. -
- Backed by our 100% Delight Guarantee. Cancel anytime. -
+

+ Reach out to our{' '} + + Support Team + {' '} + if you have any questions. +
+ Backed by our 100% Delight Guarantee. Cancel anytime.

); diff --git a/apps/ai/src/components/marketing/pricing-faq.tsx b/apps/ai/src/components/marketing/pricing-faq.tsx index cfc6f92d..0fa6c190 100644 --- a/apps/ai/src/components/marketing/pricing-faq.tsx +++ b/apps/ai/src/components/marketing/pricing-faq.tsx @@ -1,5 +1,3 @@ -import Balancer from 'react-wrap-balancer'; - import { Accordion, AccordionContent, @@ -146,14 +144,12 @@ export function PricingFaq() {

- Frequently Asked Questions + Frequently Asked Questions

-

- - Explore our comprehensive FAQ to find quick answers to common - inquiries. If you need further assistance, don't hesitate to - contact us for personalized help. - +

+ Explore our comprehensive FAQ to find quick answers to common + inquiries. If you need further assistance, don't hesitate to + contact us for personalized help.

diff --git a/apps/ai/src/components/providers/domain-providers.tsx b/apps/ai/src/components/providers/domain-providers.tsx index 466d357a..02678772 100644 --- a/apps/ai/src/components/providers/domain-providers.tsx +++ b/apps/ai/src/components/providers/domain-providers.tsx @@ -1,7 +1,5 @@ import type { ReactNode } from 'react'; -import { Provider as BalancerProvider } from 'react-wrap-balancer'; - import { Toaster } from '@av/ui/toaster'; import { ThemeProvider } from '#/components/providers/theme-provider'; @@ -16,7 +14,6 @@ export function DomainProviders({ children }: { children: ReactNode }) { {children} - ); } diff --git a/apps/ai/src/components/providers/providers.tsx b/apps/ai/src/components/providers/providers.tsx index 6d77e1f1..ed1af559 100644 --- a/apps/ai/src/components/providers/providers.tsx +++ b/apps/ai/src/components/providers/providers.tsx @@ -3,7 +3,6 @@ import type { ReactNode } from 'react'; import { SessionProvider } from 'next-auth/react'; -import { Provider as BalancerProvider } from 'react-wrap-balancer'; import { Toaster } from '@av/ui/toaster'; @@ -22,7 +21,6 @@ export function Providers({ children }: { children: ReactNode }) { - ); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1fff060f..a3707354 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -167,9 +167,6 @@ importers: react-hook-form: specifier: ^7.49.3 version: 7.49.3(react@18.2.0) - react-wrap-balancer: - specifier: ^1.1.0 - version: 1.1.0(react@18.2.0) resend: specifier: ^2.1.0 version: 2.1.0 @@ -13529,14 +13526,6 @@ packages: tslib: 2.6.2 dev: false - /react-wrap-balancer@1.1.0(react@18.2.0): - resolution: {integrity: sha512-EhF3jOZm5Fjx+Cx41e423qOv2c2aOvXAtym2OHqrGeMUnwERIyNsRBgnfT3plB170JmuYvts8K2KSPEIerKr5A==} - peerDependencies: - react: '>=16.8.0 || ^17.0.0 || ^18' - dependencies: - react: 18.2.0 - dev: false - /react@18.2.0: resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==} engines: {node: '>=0.10.0'}