diff --git a/src/app/components/SpeciesColorPicker.js b/src/app/components/SpeciesColorPicker.js index 26c490e..21276d1 100644 --- a/src/app/components/SpeciesColorPicker.js +++ b/src/app/components/SpeciesColorPicker.js @@ -58,48 +58,8 @@ function SpeciesColorPicker({ const allSpecies = (meta && [...meta.allSpecies]) || []; allSpecies.sort((a, b) => a.name.localeCompare(b.name)); - const backgroundColor = useColorModeValue("white", "gray.600"); - const borderColor = useColorModeValue("green.600", "transparent"); const textColor = useColorModeValue("inherit", "green.50"); - const SpeciesColorSelect = ({ isDisabled, isLoading, ...props }) => { - const loadingProps = isLoading - ? { - // Visually the disabled state is the same as the normal state, but - // with a wait cursor. We don't expect this to take long, and the flash - // of content is rough! - opacity: "1 !important", - cursor: "wait !important", - } - : {}; - - return ( - + ); +}; + function getPairByte(valids, speciesId, colorId) { // Reading a bit table, owo! const speciesIndex = speciesId - 1;