// main.jsx
import React from 'react';
import ReactDOM from 'react-dom/client';
import cloudbase from '@cloudbase/js-sdk';

const cloudbaseApp = cloudbase.init({
  env: 'xingzhi-authing-5gkb8pggc4cf2edf',
});
window.cloudbase = cloudbaseApp;
import { BrowserRouter as Router } from 'react-router-dom';
import { GoogleOAuthProvider } from '@react-oauth/google';
import App from './App';
import './styles/main.css';

ReactDOM.createRoot(document.getElementById('root')).render(
  <React.StrictMode>
    <GoogleOAuthProvider clientId="100542027781-fsbqmfab5rmcjmvngu42bace31bn70d6.apps.googleusercontent.com">
      <Router>
        <App />
      </Router>
    </GoogleOAuthProvider>
  </React.StrictMode>
);
