Remove extensions from import paths
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -59,7 +59,7 @@ export const measureRoutes = [
|
||||
Fallback: LinkCardSkeleton,
|
||||
Component: lazy(
|
||||
() =>
|
||||
import("#/pages/organizations/measures/tabs/MeasureRisksTab.tsx"),
|
||||
import("#/pages/organizations/measures/tabs/MeasureRisksTab"),
|
||||
),
|
||||
},
|
||||
{
|
||||
@@ -67,7 +67,7 @@ export const measureRoutes = [
|
||||
Fallback: LinkCardSkeleton,
|
||||
Component: lazy(
|
||||
() =>
|
||||
import("#/pages/organizations/measures/tabs/MeasureTasksTab.tsx"),
|
||||
import("#/pages/organizations/measures/tabs/MeasureTasksTab"),
|
||||
),
|
||||
},
|
||||
{
|
||||
@@ -75,7 +75,7 @@ export const measureRoutes = [
|
||||
Fallback: LinkCardSkeleton,
|
||||
Component: lazy(
|
||||
() =>
|
||||
import("#/pages/organizations/measures/tabs/MeasureControlsTab.tsx"),
|
||||
import("#/pages/organizations/measures/tabs/MeasureControlsTab"),
|
||||
),
|
||||
},
|
||||
{
|
||||
@@ -83,7 +83,7 @@ export const measureRoutes = [
|
||||
Fallback: LinkCardSkeleton,
|
||||
Component: lazy(
|
||||
() =>
|
||||
import("#/pages/organizations/measures/tabs/MeasureEvidencesTab.tsx"),
|
||||
import("#/pages/organizations/measures/tabs/MeasureEvidencesTab"),
|
||||
),
|
||||
},
|
||||
],
|
||||
|
||||
@@ -9,7 +9,7 @@ import { loadQuery } from "react-relay";
|
||||
import type { PeopleGraphNodeQuery } from "#/__generated__/core/PeopleGraphNodeQuery.graphql";
|
||||
import type { PeopleGraphPaginatedQuery } from "#/__generated__/core/PeopleGraphPaginatedQuery.graphql";
|
||||
import { LinkCardSkeleton } from "#/components/skeletons/LinkCardSkeleton";
|
||||
import { PageSkeleton } from "#/components/skeletons/PageSkeleton.tsx";
|
||||
import { PageSkeleton } from "#/components/skeletons/PageSkeleton";
|
||||
import { coreEnvironment } from "#/environments";
|
||||
import {
|
||||
paginatedPeopleQuery,
|
||||
|
||||
@@ -12,7 +12,7 @@ import type { RiskGraphListQuery } from "#/__generated__/core/RiskGraphListQuery
|
||||
import type { RiskGraphNodeQuery } from "#/__generated__/core/RiskGraphNodeQuery.graphql";
|
||||
import { LinkCardSkeleton } from "#/components/skeletons/LinkCardSkeleton";
|
||||
import { PageSkeleton } from "#/components/skeletons/PageSkeleton";
|
||||
import { RisksPageSkeleton } from "#/components/skeletons/RisksPageSkeleton.tsx";
|
||||
import { RisksPageSkeleton } from "#/components/skeletons/RisksPageSkeleton";
|
||||
import { coreEnvironment } from "#/environments";
|
||||
import { riskNodeQuery, risksQuery } from "#/hooks/graph/RiskGraph";
|
||||
|
||||
@@ -67,28 +67,28 @@ export const riskRoutes = [
|
||||
path: "overview",
|
||||
Fallback: LinkCardSkeleton,
|
||||
Component: lazy(
|
||||
() => import("#/pages/organizations/risks/tabs/RiskOverviewTab.tsx"),
|
||||
() => import("#/pages/organizations/risks/tabs/RiskOverviewTab"),
|
||||
),
|
||||
},
|
||||
{
|
||||
path: "measures",
|
||||
Fallback: LinkCardSkeleton,
|
||||
Component: lazy(
|
||||
() => import("#/pages/organizations/risks/tabs/RiskMeasuresTab.tsx"),
|
||||
() => import("#/pages/organizations/risks/tabs/RiskMeasuresTab"),
|
||||
),
|
||||
},
|
||||
{
|
||||
path: "documents",
|
||||
Fallback: LinkCardSkeleton,
|
||||
Component: lazy(
|
||||
() => import("#/pages/organizations/risks/tabs/RiskDocumentsTab.tsx"),
|
||||
() => import("#/pages/organizations/risks/tabs/RiskDocumentsTab"),
|
||||
),
|
||||
},
|
||||
{
|
||||
path: "controls",
|
||||
Fallback: LinkCardSkeleton,
|
||||
Component: lazy(
|
||||
() => import("#/pages/organizations/risks/tabs/RiskControlsTab.tsx"),
|
||||
() => import("#/pages/organizations/risks/tabs/RiskControlsTab"),
|
||||
),
|
||||
},
|
||||
{
|
||||
@@ -96,7 +96,7 @@ export const riskRoutes = [
|
||||
Fallback: LinkCardSkeleton,
|
||||
Component: lazy(
|
||||
() =>
|
||||
import("#/pages/organizations/risks/tabs/RiskObligationsTab.tsx"),
|
||||
import("#/pages/organizations/risks/tabs/RiskObligationsTab"),
|
||||
),
|
||||
},
|
||||
],
|
||||
@@ -125,7 +125,7 @@ export const riskRoutes = [
|
||||
path: "overview",
|
||||
Fallback: LinkCardSkeleton,
|
||||
Component: lazy(
|
||||
() => import("#/pages/organizations/risks/tabs/RiskOverviewTab.tsx"),
|
||||
() => import("#/pages/organizations/risks/tabs/RiskOverviewTab"),
|
||||
),
|
||||
},
|
||||
],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { lazy } from "@probo/react-lazy";
|
||||
import type { AppRoute } from "@probo/routes";
|
||||
|
||||
import { PageSkeleton } from "#/components/skeletons/PageSkeleton.tsx";
|
||||
import { PageSkeleton } from "#/components/skeletons/PageSkeleton";
|
||||
|
||||
export const statesOfApplicabilityRoutes = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user