feat: add auth to webapi
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import type { Injector } from '@outposts/injection-js';
|
||||
import {
|
||||
// Link,
|
||||
Outlet,
|
||||
createRootRouteWithContext,
|
||||
} from '@tanstack/react-router';
|
||||
@@ -26,25 +25,6 @@ export const Route = createRootRouteWithContext<RouterContext>()({
|
||||
function RootComponent() {
|
||||
return (
|
||||
<>
|
||||
{/* <div className="flex gap-2 p-2 text-lg ">
|
||||
<Link
|
||||
to="/"
|
||||
activeProps={{
|
||||
className: 'font-bold',
|
||||
}}
|
||||
>
|
||||
Home
|
||||
</Link>{' '}
|
||||
<Link
|
||||
to="/graphql"
|
||||
activeProps={{
|
||||
className: 'font-bold',
|
||||
}}
|
||||
>
|
||||
GraphQL
|
||||
</Link>
|
||||
</div> */}
|
||||
{/* <hr /> */}
|
||||
<Outlet />
|
||||
<TanStackRouterDevtools position="bottom-right" />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user