From aed0895f0e5a422fa5abaf1bc93a9d0aec0562d0 Mon Sep 17 00:00:00 2001 From: Fran McDade Date: Fri, 6 Sep 2024 09:50:59 +1000 Subject: [PATCH] fix: typo (#16) --- .../components/Section/components/SectionHero/sectionHero.tsx | 2 +- .../TableCell/components/AnalyzeGenome/analyzeGenome.tsx | 2 +- .../catalog/brc-analytics-catalog/common/viewModelBuilders.ts | 2 +- routes/{contants.ts => constants.ts} | 0 site-config/brc-analytics/local/config.ts | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename routes/{contants.ts => constants.ts} (100%) diff --git a/app/components/Home/components/Section/components/SectionHero/sectionHero.tsx b/app/components/Home/components/Section/components/SectionHero/sectionHero.tsx index e603ede..446b42a 100644 --- a/app/components/Home/components/Section/components/SectionHero/sectionHero.tsx +++ b/app/components/Home/components/Section/components/SectionHero/sectionHero.tsx @@ -1,5 +1,5 @@ import { Button } from "@mui/material"; -import { ROUTES } from "../../../../../../../routes/contants"; +import { ROUTES } from "../../../../../../../routes/constants"; import { Head, Headline, diff --git a/app/components/Table/components/TableCell/components/AnalyzeGenome/analyzeGenome.tsx b/app/components/Table/components/TableCell/components/AnalyzeGenome/analyzeGenome.tsx index 14e11f5..5c69671 100644 --- a/app/components/Table/components/TableCell/components/AnalyzeGenome/analyzeGenome.tsx +++ b/app/components/Table/components/TableCell/components/AnalyzeGenome/analyzeGenome.tsx @@ -4,7 +4,7 @@ import { } from "@databiosphere/findable-ui/lib/components/Links/common/entities"; import { Button, Tooltip } from "@mui/material"; import Router from "next/router"; -import { ROUTES } from "../../../../../../../routes/contants"; +import { ROUTES } from "../../../../../../../routes/constants"; import { BRCDataCatalogGenome } from "../../../../../../apis/catalog/brc-analytics-catalog/common/entities"; import { AnalyzeGenomeIcon } from "../../../../../common/CustomIcon/components/AnalyzeGenomeIcon/analyzeGenomeIcon"; import { ViewGenomeIcon } from "../../../../../common/CustomIcon/components/ViewGenomeIcon/viewGenomeIcon"; diff --git a/app/viewModelBuilders/catalog/brc-analytics-catalog/common/viewModelBuilders.ts b/app/viewModelBuilders/catalog/brc-analytics-catalog/common/viewModelBuilders.ts index 72b4939..142d303 100644 --- a/app/viewModelBuilders/catalog/brc-analytics-catalog/common/viewModelBuilders.ts +++ b/app/viewModelBuilders/catalog/brc-analytics-catalog/common/viewModelBuilders.ts @@ -5,7 +5,7 @@ import { Value, } from "@databiosphere/findable-ui/lib/components/common/KeyValuePairs/keyValuePairs"; import { ComponentProps } from "react"; -import { ROUTES } from "../../../../../routes/contants"; +import { ROUTES } from "../../../../../routes/constants"; import { BRCDataCatalogGenome } from "../../../../apis/catalog/brc-analytics-catalog/common/entities"; import * as C from "../../../../components"; import { GENOME_BROWSER } from "./constants"; diff --git a/routes/contants.ts b/routes/constants.ts similarity index 100% rename from routes/contants.ts rename to routes/constants.ts diff --git a/site-config/brc-analytics/local/config.ts b/site-config/brc-analytics/local/config.ts index a8d9268..c656e84 100644 --- a/site-config/brc-analytics/local/config.ts +++ b/site-config/brc-analytics/local/config.ts @@ -3,7 +3,7 @@ import { EntityConfig } from "@databiosphere/findable-ui/src/config/entities"; import { BRCDataCatalogGenome } from "../../../app/apis/catalog/brc-analytics-catalog/common/entities"; import * as C from "../../../app/components"; import * as P from "../../../app/theme/common/palette"; -import { ROUTES } from "../../../routes/contants"; +import { ROUTES } from "../../../routes/constants"; import { genomeEntityConfig } from "./index/genomeEntityConfig"; const LOCALHOST = "http://localhost:3000";