Skip to content

Commit

Permalink
Merge pull request #59 from BioAnalyticResource/yukthiw/fix-staging-b…
Browse files Browse the repository at this point in the history
…ranch

fix: Removed unused variable to fix build
  • Loading branch information
Yukthiw authored Dec 4, 2023
2 parents 538f8d8 + e8ca57c commit 4ee834d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Eplant/views/eFP/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default class EFP implements View<EFPData, EFPState, EFPAction> {
return out
}
component(props: ViewProps<EFPData, EFPState, EFPAction>): JSX.Element {
const { view, _loading } = useEFPSVG(
const { view } = useEFPSVG(
{
svgURL: this.svgURL,
xmlURL: this.xmlURL,
Expand Down Expand Up @@ -203,7 +203,7 @@ export default class EFP implements View<EFPData, EFPState, EFPAction> {
tissue: EFPTissue
}[]
>([])

const svgDiv = React.useMemo(() => {
return (
<div
Expand All @@ -228,8 +228,8 @@ export default class EFP implements View<EFPData, EFPState, EFPAction> {
el: document.querySelector(`#${id} .efp-group-${t.id}`),
group,
tissue: t,
}))
)
})),
),
)
setSvgElements(elements as any)
}, [props.activeData.groups, id, svgDiv])
Expand Down

0 comments on commit 4ee834d

Please sign in to comment.