Skip to content

Commit 5d6e0a5

Browse files
committed
Misc refactor3
1 parent c35a1b5 commit 5d6e0a5

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

plugins/linear-genome-view/src/BaseLinearDisplay/components/LinearBlocks.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ const RenderedBlocks = observer(function ({
8787
)
8888
})
8989

90-
export { RenderedBlocks }
91-
9290
const LinearBlocks = observer(function ({
9391
model,
9492
}: {

plugins/svg/src/SvgFeatureRenderer/components/FeatureLabel.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ const FeatureLabel = observer(function ({
6161
const [labelVisible, setLabelVisible] = useState(exportSVG)
6262
const theme = useTheme()
6363

64-
// we use an effect to set the label visible because there can be a
65-
// mismatch between the server and the client after hydration due to the
66-
// floating labels. if we are exporting an SVG we allow it as is though and
67-
// do not use the effect
64+
// we use an effect to set the label visible because there can be a mismatch
65+
// between the server and the client after hydration due to the floating
66+
// labels. if we are exporting an SVG we allow it as is though and do not use
67+
// the effect
6868
useEffect(() => {
6969
setLabelVisible(true)
7070
}, [])

0 commit comments

Comments
 (0)