📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Fix types
Blue Mouseec4fd2ba0697
diff --git a/web/app/components/marketing/Pricing.tsx b/web/app/components/marketing/Pricing.tsxindex 9bab96d60..5f45537f2 100644--- a/web/app/components/marketing/Pricing.tsx+++ b/web/app/components/marketing/Pricing.tsx@@ -84,7 +84,6 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {: [user.planCode, ...STANDARD_PLANS]: STANDARD_PLANS- // @ts-expect-errorconst [selectedTier, setSelectedTier] = useState<any>(authenticated ? PLAN_LIMITS[user.planCode] : PLAN_LIMITS.hobby)const planFeatures = getPaidFeatures(t, selectedTier)const currency = CURRENCIES[currencyCode]@@ -157,7 +156,6 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {setPlanCodeLoading(tier.planCode)- // @ts-expect-errorif (!window.Paddle) {toast.error('Payment script has not yet loaded! Please, try again.')setPlanCodeLoading(null)@@ -168,7 +166,6 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {user.referrerID && (user.planCode === 'trial' || user.planCode === 'none') && !user.cancellationEffectiveDateconst coupon = discountMayBeApplied ? REFERRAL_DISCOUNT_CODE : undefined- // @ts-expect-errorwindow.Paddle.Checkout.open({product: billingFrequency === BillingFrequency.monthly ? tier.pid : tier.ypid,email: user.email,@@ -228,7 +225,6 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {}}- // @ts-expect-errorconst userPlancodeID = PLAN_LIMITS[user.planCode]?.indexconst planCodeID = selectedTier.indexconst downgrade = planCodeID < userPlancodeID@@ -426,7 +422,6 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {values={{amount: 10,}}- // @ts-expect-errorcomponents={{url: (<Linkdiff --git a/web/app/ui/icons/Sort.tsx b/web/app/ui/icons/Sort.tsxindex 794a0a906..580fecf76 100644--- a/web/app/ui/icons/Sort.tsx+++ b/web/app/ui/icons/Sort.tsx@@ -2,8 +2,8 @@ import { ChevronUpDownIcon, ChevronUpIcon, ChevronDownIcon } from '@heroicons/reimport cx from 'clsx'interface SortProps {- sortByAscend?: boolean- sortByDescend?: boolean+ sortByAscend: boolean | null+ sortByDescend: boolean | nullclassName?: string}