From 4bfff528693a1914ebe7e2d88acbcdde6e6a75f2 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Thu, 3 Aug 2023 23:56:12 +0100 Subject: [PATCH] Update SingleRow.jsx --- src/components/SingleRow.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/SingleRow.jsx b/src/components/SingleRow.jsx index 1a2f706..7e6f039 100644 --- a/src/components/SingleRow.jsx +++ b/src/components/SingleRow.jsx @@ -1,5 +1,7 @@ import ColorHash from "color-hash"; -import { getReverseComplement, filterFeatures, getColor, codonToAminoAcid } from "../utils"; +import { getReverseComplement, filterFeatures, } from "../utils"; +import getColor from "../utils/getColor"; +import codonMapping from "../utils/codonMapping"; var colorHash = new ColorHash({ lightness: [0.75, 0.9, 0.7, 0.8] }); const SingleRow = ({