From 678076a6eaf739772dd37db21e65ccc8ca12fe9e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 12 Sep 2023 20:33:53 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- taxonium_component/src/components/ColorSettingModal.jsx | 4 +--- taxonium_component/src/components/DeckSettingsModal.jsx | 6 ++---- taxonium_component/src/hooks/useLayers.jsx | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/taxonium_component/src/components/ColorSettingModal.jsx b/taxonium_component/src/components/ColorSettingModal.jsx index b856aee6..f904bfb5 100644 --- a/taxonium_component/src/components/ColorSettingModal.jsx +++ b/taxonium_component/src/components/ColorSettingModal.jsx @@ -12,13 +12,11 @@ const modalStyle = { borderRadius: "8px", padding: "20px", maxWidth: "400px", - }, overlay: { backgroundColor: "rgba(100, 100, 100, 0.3)", zIndex: 1000, - - } + }, }; const ColorSettingModal = ({ isOpen, setIsOpen, color, setColor, title }) => { diff --git a/taxonium_component/src/components/DeckSettingsModal.jsx b/taxonium_component/src/components/DeckSettingsModal.jsx index cd356488..6247b46c 100644 --- a/taxonium_component/src/components/DeckSettingsModal.jsx +++ b/taxonium_component/src/components/DeckSettingsModal.jsx @@ -14,13 +14,11 @@ const settingsModalStyle = { borderRadius: "8px", padding: "20px", maxWidth: "700px", - } - , + }, overlay: { backgroundColor: "rgba(100, 100, 100, 0.3)", zIndex: 1000, - - } + }, }; const prettifyMutationTypes = { diff --git a/taxonium_component/src/hooks/useLayers.jsx b/taxonium_component/src/hooks/useLayers.jsx index 5f86b328..0fc8052d 100644 --- a/taxonium_component/src/hooks/useLayers.jsx +++ b/taxonium_component/src/hooks/useLayers.jsx @@ -169,7 +169,7 @@ const useLayers = ({ onHover: (info) => setHoverInfo(info), modelMatrix: modelMatrix, updateTriggers: { - getFillColor: [detailed_data, getNodeColorField,colorHook], + getFillColor: [detailed_data, getNodeColorField, colorHook], getPosition: [xType], }, };