Skip to content

Commit 5c93cdc

Browse files
committed
Misc refactor3
1 parent 48a2f7c commit 5c93cdc

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
@@ -85,8 +85,6 @@ const RenderedBlocks = observer(function ({
8585
)
8686
})
8787

88-
export { RenderedBlocks }
89-
9088
const LinearBlocks = observer(function ({
9189
model,
9290
}: {

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)