mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-05 12:11:51 +02:00
Fix posthog issue
This commit is contained in:
parent
d441d17181
commit
9a8c3acf30
5 changed files with 9 additions and 15 deletions
|
@ -2,7 +2,7 @@ import "tailwindcss/tailwind.css";
|
|||
import "../../style.css";
|
||||
|
||||
import { defaultLocale, supportedLngs } from "@rallly/languages";
|
||||
import { PostHogProvider } from "@rallly/posthog/client";
|
||||
import { posthog, PostHogProvider } from "@rallly/posthog/client";
|
||||
import { Toaster } from "@rallly/ui/toaster";
|
||||
import { TooltipProvider } from "@rallly/ui/tooltip";
|
||||
import { domAnimation, LazyMotion } from "motion/react";
|
||||
|
@ -61,7 +61,7 @@ export default async function Root({
|
|||
<I18nProvider locale={locale}>
|
||||
<TRPCProvider>
|
||||
<LazyMotion features={domAnimation}>
|
||||
<PostHogProvider>
|
||||
<PostHogProvider client={posthog}>
|
||||
<PostHogPageView />
|
||||
<TooltipProvider>
|
||||
<UserProvider
|
||||
|
|
|
@ -11,8 +11,8 @@ export const UpgradeButton = ({
|
|||
annual,
|
||||
large,
|
||||
className,
|
||||
}: React.PropsWithChildren<{
|
||||
annual?: boolean;
|
||||
}: React.PropsWithChildren<{
|
||||
annual?: boolean;
|
||||
large?: boolean;
|
||||
className?: string;
|
||||
}>) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue