Spaces:
Sleeping
Sleeping
| import React, { StrictMode } from 'react' | |
| import { createRoot } from 'react-dom/client' | |
| import { GoogleOAuthProvider } from '@react-oauth/google' | |
| import './index.css' | |
| import App from './App.tsx' | |
| const GOOGLE_CLIENT_ID = "104610548423-k2hdgtrp0t8up2vfhkf98fdf14q1m6o3.apps.googleusercontent.com"; | |
| const rootElement = document.getElementById('root'); | |
| if (rootElement) { | |
| createRoot(rootElement).render( | |
| <StrictMode> | |
| <GoogleOAuthProvider clientId={GOOGLE_CLIENT_ID}> | |
| <App /> | |
| </GoogleOAuthProvider> | |
| </StrictMode> | |
| ); | |
| } | |