diff --git a/apps/web/app/providers.tsx b/apps/web/app/providers.tsx
index e423d79f73..86b5d35a6a 100644
--- a/apps/web/app/providers.tsx
+++ b/apps/web/app/providers.tsx
@@ -2,11 +2,15 @@
import { TrpcProvider } from "app/_trpc/trpc-provider";
import { SessionProvider } from "next-auth/react";
+import CacheProvider from "react-inlinesvg/provider";
export function Providers({ children }: { children: React.ReactNode }) {
return (
- {children}
+
+ {/* @ts-expect-error FIXME remove this comment when upgrading typescript to v5 */}
+ {children}
+
);
}
diff --git a/apps/web/lib/app-providers-app-dir.tsx b/apps/web/lib/app-providers-app-dir.tsx
index 419bb5cb27..9d6a18b8ab 100644
--- a/apps/web/lib/app-providers-app-dir.tsx
+++ b/apps/web/lib/app-providers-app-dir.tsx
@@ -12,7 +12,6 @@ import type { ReadonlyURLSearchParams } from "next/navigation";
import { useSearchParams } from "next/navigation";
import type { ReactNode } from "react";
import { useEffect } from "react";
-import CacheProvider from "react-inlinesvg/provider";
import DynamicPostHogProvider from "@calcom/features/ee/event-tracking/lib/posthog/providerDynamic";
import { OrgBrandingProvider } from "@calcom/features/ee/organizations/context/provider";
@@ -277,10 +276,7 @@ const AppProviders = (props: PageWrapperProps) => {
isThemeSupported={/* undefined gets treated as true */ props.isThemeSupported}
isBookingPage={props.isBookingPage || isBookingPage}>
-
- {/* @ts-expect-error FIXME remove this comment when upgrading typescript to v5 */}
- {props.children}
-
+ {props.children}
diff --git a/apps/web/lib/app-providers.tsx b/apps/web/lib/app-providers.tsx
index ce98d80ead..e8dc513acc 100644
--- a/apps/web/lib/app-providers.tsx
+++ b/apps/web/lib/app-providers.tsx
@@ -11,7 +11,6 @@ import dynamic from "next/dynamic";
import type { ParsedUrlQuery } from "querystring";
import type { PropsWithChildren, ReactNode } from "react";
import { useEffect } from "react";
-import CacheProvider from "react-inlinesvg/provider";
import DynamicPostHogProvider from "@calcom/features/ee/event-tracking/lib/posthog/providerDynamic";
import { OrgBrandingProvider } from "@calcom/features/ee/organizations/context/provider";
@@ -307,10 +306,7 @@ const AppProviders = (props: AppPropsWithChildren) => {
router={props.router}>
- {/* @ts-expect-error FIXME remove this comment when upgrading typescript to v5 */}
-
- {props.children}
-
+ {props.children}
diff --git a/apps/web/pages/_app.tsx b/apps/web/pages/_app.tsx
index f24abe7ae4..fdc0f8c01d 100644
--- a/apps/web/pages/_app.tsx
+++ b/apps/web/pages/_app.tsx
@@ -2,6 +2,7 @@ import type { IncomingMessage } from "http";
import { SessionProvider } from "next-auth/react";
import type { AppContextType } from "next/dist/shared/lib/utils";
import React, { useEffect } from "react";
+import CacheProvider from "react-inlinesvg/provider";
import { trpc } from "@calcom/trpc/react";
@@ -20,7 +21,10 @@ function MyApp(props: AppProps) {
return (
- {Component.PageWrapper ? : }
+ {/* @ts-expect-error FIXME remove this comment when upgrading typescript to v5 */}
+
+ {Component.PageWrapper ? : }
+
);
}