|
Last change
on this file since 505f39a was 505f39a, checked in by istevanoska <ilinastevanoska@…>, 6 months ago |
|
Added OAuth/prototype
|
-
Property mode
set to
100644
|
|
File size:
409 bytes
|
| Line | |
|---|
| 1 | import React from "react";
|
|---|
| 2 | import ReactDOM from "react-dom/client";
|
|---|
| 3 | import { GoogleOAuthProvider } from "@react-oauth/google";
|
|---|
| 4 | import App from "./App.jsx";
|
|---|
| 5 | import "./styles/theme.css";
|
|---|
| 6 |
|
|---|
| 7 | ReactDOM.createRoot(document.getElementById("root")).render(
|
|---|
| 8 | <React.StrictMode>
|
|---|
| 9 | <GoogleOAuthProvider clientId={import.meta.env.VITE_GOOGLE_CLIENT_ID}>
|
|---|
| 10 | <App />
|
|---|
| 11 | </GoogleOAuthProvider>
|
|---|
| 12 | </React.StrictMode>
|
|---|
| 13 | );
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.