Added openapi based api client
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { isRouteErrorResponse, Links, Meta, Outlet, Scripts, ScrollRestoration } from 'react-router';
|
||||
|
||||
import type { Route } from './+types/root';
|
||||
import './app.css';
|
||||
import { Theme } from '@radix-ui/themes';
|
||||
import { ApiProvider } from './providers/ApiProvider';
|
||||
|
||||
export const links: Route.LinksFunction = () => [];
|
||||
|
||||
@@ -27,7 +27,9 @@ export function Layout({ children }: { children: React.ReactNode }) {
|
||||
export default function App() {
|
||||
return (
|
||||
<Theme>
|
||||
<Outlet />
|
||||
<ApiProvider>
|
||||
<Outlet />
|
||||
</ApiProvider>
|
||||
</Theme>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user