Remove extensions from import paths
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -9,7 +9,7 @@ import {
|
||||
IconPlusLarge,
|
||||
Spinner,
|
||||
} from "@probo/ui";
|
||||
import { IconMinusLarge } from "@probo/ui/src/Atoms/Icons/IconMinusLarge.tsx";
|
||||
import { IconMinusLarge } from "@probo/ui/src/Atoms/Icons/IconMinusLarge";
|
||||
import { type ComponentProps, useRef, useState } from "react";
|
||||
import { Document, Page, pdfjs } from "react-pdf";
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@ import { Fragment } from "react";
|
||||
import { type PreloadedQuery, usePreloadedQuery } from "react-relay";
|
||||
|
||||
import { DocumentRow } from "#/components/DocumentRow";
|
||||
import { RowHeader } from "#/components/RowHeader.tsx";
|
||||
import { Rows } from "#/components/Rows.tsx";
|
||||
import { RowHeader } from "#/components/RowHeader";
|
||||
import { Rows } from "#/components/Rows";
|
||||
import { TrustCenterFileRow } from "#/components/TrustCenterFileRow";
|
||||
import { documentTypeLabel } from "#/helpers/documents";
|
||||
import type { TrustGraphCurrentDocumentsQuery } from "#/queries/__generated__/TrustGraphCurrentDocumentsQuery.graphql.ts";
|
||||
import type { TrustGraphCurrentDocumentsQuery } from "#/queries/__generated__/TrustGraphCurrentDocumentsQuery.graphql";
|
||||
import { currentTrustDocumentsQuery } from "#/queries/TrustGraph";
|
||||
|
||||
type Props = {
|
||||
|
||||
@@ -13,8 +13,8 @@ import { graphql } from "relay-runtime";
|
||||
|
||||
import { AuditRow } from "#/components/AuditRow";
|
||||
import { DocumentRow } from "#/components/DocumentRow";
|
||||
import { RowHeader } from "#/components/RowHeader.tsx";
|
||||
import { Rows } from "#/components/Rows.tsx";
|
||||
import { RowHeader } from "#/components/RowHeader";
|
||||
import { Rows } from "#/components/Rows";
|
||||
import { TrustCenterFileRow } from "#/components/TrustCenterFileRow";
|
||||
import { VendorRow } from "#/components/VendorRow";
|
||||
import { documentTypeLabel } from "#/helpers/documents";
|
||||
|
||||
@@ -2,7 +2,7 @@ import { sprintf } from "@probo/helpers";
|
||||
import { useTranslate } from "@probo/i18n";
|
||||
import { type PreloadedQuery, usePreloadedQuery } from "react-relay";
|
||||
|
||||
import { Rows } from "#/components/Rows.tsx";
|
||||
import { Rows } from "#/components/Rows";
|
||||
import { VendorRow } from "#/components/VendorRow";
|
||||
import type { TrustGraphCurrentVendorsQuery } from "#/queries/__generated__/TrustGraphCurrentVendorsQuery.graphql";
|
||||
import { currentTrustVendorsQuery } from "#/queries/TrustGraph";
|
||||
|
||||
@@ -18,10 +18,10 @@ import {
|
||||
currentTrustVendorsQuery,
|
||||
} from "#/queries/TrustGraph";
|
||||
|
||||
import { PageError } from "./components/PageError.tsx";
|
||||
import { MainSkeleton } from "./components/Skeletons/MainSkeleton.tsx";
|
||||
import { TabSkeleton } from "./components/Skeletons/TabSkeleton.tsx";
|
||||
import { consoleEnvironment } from "./providers/RelayProviders.tsx";
|
||||
import { PageError } from "./components/PageError";
|
||||
import { MainSkeleton } from "./components/Skeletons/MainSkeleton";
|
||||
import { TabSkeleton } from "./components/Skeletons/TabSkeleton";
|
||||
import { consoleEnvironment } from "./providers/RelayProviders";
|
||||
|
||||
/**
|
||||
* Top level error boundary
|
||||
@@ -35,11 +35,11 @@ function ErrorBoundary() {
|
||||
const routes = [
|
||||
{
|
||||
path: "/connect",
|
||||
Component: lazy(() => import("./pages/auth/ConnectPageLoader.tsx")),
|
||||
Component: lazy(() => import("./pages/auth/ConnectPageLoader")),
|
||||
},
|
||||
{
|
||||
path: "/verify-magic-link",
|
||||
Component: lazy(() => import("./pages/auth/VerifyMagicLinkPage.tsx")),
|
||||
Component: lazy(() => import("./pages/auth/VerifyMagicLinkPage")),
|
||||
},
|
||||
{
|
||||
path: "/",
|
||||
|
||||
Reference in New Issue
Block a user