summaryrefslogtreecommitdiff
path: root/frontend/src/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/index.tsx')
-rw-r--r--frontend/src/index.tsx21
1 files changed, 21 insertions, 0 deletions
diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx
new file mode 100644
index 0000000..162d1a1
--- /dev/null
+++ b/frontend/src/index.tsx
@@ -0,0 +1,21 @@
+import React from 'react';
+import ReactDOM from 'react-dom/client';
+import App from './App';
+import reportWebVitals from './reportWebVitals';
+import { GoogleOAuthProvider } from '@react-oauth/google';
+
+const rootElem: HTMLElement = document.getElementById('root')!;
+
+const root = ReactDOM.createRoot(rootElem);
+root.render(
+ <GoogleOAuthProvider clientId='84022739350-83723nr55j7t1ptmhrkn1u7aq7nfo3he.apps.googleusercontent.com'>
+ <React.StrictMode>
+ <App />
+ </React.StrictMode>
+ </GoogleOAuthProvider>
+);
+
+// If you want to start measuring performance in your app, pass a function
+// to log results (for example: reportWebVitals(console.log))
+// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
+reportWebVitals(null);