Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 9, 2024
1 parent ab4923d commit 0ffb1e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions taxonium_component/src/hooks/useColor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ const useColor = (colorMapping) => {
return [24, 112, 32]; // diff to UK
}
if (string === "OXFORD_NANOPORE") {
return [24, 32, 200];
return [24, 32, 200];
}

if (string === "ION_TORRENT") {
return [24, 160, 32];
return [24, 160, 32];
}

if (string === "Democratic Republic of the Congo") {
Expand Down
2 changes: 1 addition & 1 deletion taxonium_website/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { HiOutlineBookOpen } from "react-icons/hi";
const default_query = {};

default_query.backend = null;
if(window.location.hostname.includes("viridian.taxonium.org")){
if (window.location.hostname.includes("viridian.taxonium.org")) {
default_query.backend = "https://viridian-api.cov2tree.org";
}
if (window.location.hostname.includes("cov2tree.org")) {
Expand Down

0 comments on commit 0ffb1e2

Please sign in to comment.