Querying connect graphQL API
Signed-off-by: Émile Ré <nemile.re@gmail.com>
This commit is contained in:
@@ -49,6 +49,7 @@ import {
|
||||
UnAuthenticatedError,
|
||||
UnauthorizedError,
|
||||
} from "@probo/relay";
|
||||
import { OrganizationListLoading } from "./pages/iam/organization/list/loading.tsx";
|
||||
|
||||
/**
|
||||
* Top level error boundary
|
||||
@@ -117,13 +118,11 @@ const routes = [
|
||||
ErrorBoundary: ErrorBoundary,
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
Component: lazy(() => import("./pages/OrganizationsPage")),
|
||||
},
|
||||
{
|
||||
path: "organizations/new",
|
||||
Component: lazy(
|
||||
() => import("./pages/organizations/NewOrganizationPage")
|
||||
index: true,
|
||||
Component: () => (
|
||||
<RelayEnvironmentProvider environment={connectEnvironment}>
|
||||
<OrganizationListLoading />
|
||||
</RelayEnvironmentProvider>
|
||||
),
|
||||
},
|
||||
// {
|
||||
|
||||
Reference in New Issue
Block a user