From e1df207f5d67504d78bcc082e5167397b79611a1 Mon Sep 17 00:00:00 2001 From: Demian Caldelas Date: Tue, 12 Apr 2022 15:41:42 -0300 Subject: [PATCH] Prepare for deprecated radix-ui IdProvider (#2068) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Peer Richelsen Co-authored-by: Bailey Pumfleet Co-authored-by: Omar López --- apps/web/lib/app-providers.tsx | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/apps/web/lib/app-providers.tsx b/apps/web/lib/app-providers.tsx index 2d96b261c0..6a9707c1fa 100644 --- a/apps/web/lib/app-providers.tsx +++ b/apps/web/lib/app-providers.tsx @@ -1,10 +1,7 @@ -import { IdProvider } from "@radix-ui/react-id"; import { SessionProvider } from "next-auth/react"; import { appWithTranslation } from "next-i18next"; import type { AppProps as NextAppProps } from "next/app"; -import React, { ComponentProps, ReactNode } from "react"; -import { LiveChatLoaderProvider } from "react-live-chat-loader"; -import { HelpScout } from "react-live-chat-loader"; +import { ComponentProps, ReactNode } from "react"; import DynamicHelpscoutProvider from "@ee/lib/helpscout/providerDynamic"; import DynamicIntercomProvider from "@ee/lib/intercom/providerDynamic"; @@ -54,15 +51,13 @@ const AppProviders = (props: AppPropsWithChildren) => { return ( - - {isPublicPage ? ( - RemainingProviders - ) : ( - - {RemainingProviders} - - )} - + {isPublicPage ? ( + RemainingProviders + ) : ( + + {RemainingProviders} + + )} ); };