diff --git a/Eplant/UI/Layout/ViewContainer/index.tsx b/Eplant/UI/Layout/ViewContainer/index.tsx index 7fbf7c2e..75f95bb5 100644 --- a/Eplant/UI/Layout/ViewContainer/index.tsx +++ b/Eplant/UI/Layout/ViewContainer/index.tsx @@ -235,7 +235,6 @@ export function ViewContainer({ ), [view.id, gene?.id, loading, activeData, state, dispatch] ) - return ( setViewingCitations(false)}> diff --git a/Eplant/View/viewData.ts b/Eplant/View/viewData.ts index 61b8943f..cf436360 100644 --- a/Eplant/View/viewData.ts +++ b/Eplant/View/viewData.ts @@ -119,7 +119,6 @@ export function useViewData( activeData: data ?? null, loading: false, } - console.log(newData) setViewData(newData) viewDataStorage.set(key, newData) diff --git a/Eplant/views/CellEFP/CellEFPDataObject/index.tsx b/Eplant/views/CellEFP/CellEFPDataObject/index.tsx index dfa74c9c..112c957a 100644 --- a/Eplant/views/CellEFP/CellEFPDataObject/index.tsx +++ b/Eplant/views/CellEFP/CellEFPDataObject/index.tsx @@ -139,7 +139,6 @@ export const CellEFPDataObject: CellEFPDataObject = { '-' + useMemo(() => Math.random().toString(16).slice(3), []) const styles = useStyles(id, data.viewData, 'absolute') - console.log(styles) useEffect(() => { const el = document.createElement('style') el.innerHTML = styles @@ -147,8 +146,7 @@ export const CellEFPDataObject: CellEFPDataObject = { return () => { document.head.removeChild(el) } - }, [data, styles]) - + }, [data.viewData.groups, styles]) // Add tooltips to svg const [svgElements, setSvgElements] = useState< { @@ -157,7 +155,6 @@ export const CellEFPDataObject: CellEFPDataObject = { tissue: EFPTissue }[] >([]) - const svgDiv = useMemo(() => { return (
{ ) setSvgElements(elements as any) }, [props.activeData.groups, id, svgDiv]) - if (!svg) { return (