From c78995caae60738dcd7d4a3fbbe41084954bb845 Mon Sep 17 00:00:00 2001 From: MyungJiwoo <1206jiwoo@gmail.com> Date: Sat, 5 Oct 2024 14:32:50 +0900 Subject: [PATCH] =?UTF-8?q?#91=20fix:=20HelmetProvider=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index d3c3473..fab90c3 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -6,6 +6,7 @@ import App from './App'; import reportWebVitals from './reportWebVitals'; import GlobalStyle from './styles/GlobalStyle'; import ReactGA from 'react-ga4'; +import { HelmetProvider } from 'react-helmet-async'; if (process.env.REACT_APP_GOOGLE_ANALYTICS_TRAKING_ID) { ReactGA.initialize(process.env.REACT_APP_GOOGLE_ANALYTICS_TRAKING_ID); @@ -13,10 +14,12 @@ if (process.env.REACT_APP_GOOGLE_ANALYTICS_TRAKING_ID) { const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement); root.render( - - - - + + + + + + ); // If you want to start measuring performance in your app, pass a function