From 0ffb1e2c25c483a23bfbefdbe1d1d6bd031f97d7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 9 Apr 2024 22:18:22 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- taxonium_component/src/hooks/useColor.jsx | 4 ++-- taxonium_website/src/App.jsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/taxonium_component/src/hooks/useColor.jsx b/taxonium_component/src/hooks/useColor.jsx index 8120e79f..49bfb55f 100644 --- a/taxonium_component/src/hooks/useColor.jsx +++ b/taxonium_component/src/hooks/useColor.jsx @@ -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") { diff --git a/taxonium_website/src/App.jsx b/taxonium_website/src/App.jsx index 30742be1..a283b052 100644 --- a/taxonium_website/src/App.jsx +++ b/taxonium_website/src/App.jsx @@ -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")) {