This commit is contained in:
2026-04-04 12:46:28 +05:30
commit 8a285bbdbe
52 changed files with 10159 additions and 0 deletions

17
src/main.jsx Normal file
View File

@@ -0,0 +1,17 @@
import * as React from 'react';
import { createRoot } from 'react-dom/client';
import Home from './Home';
import { AuthProvider } from "../react-auth/src";
import { OpenapiProvider } from "../react-openapi/src";
const rootElement = document.getElementById('root');
const root = createRoot(rootElement);
const AUTH_BASE = import.meta.env.VITE_AUTH_BASE_URL;
root.render(
<AuthProvider authBaseUrl={AUTH_BASE}>
<OpenapiProvider authBaseUrl={AUTH_BASE}>
<Home />
</OpenapiProvider>
</AuthProvider>
);