diff --git a/plugins/breakpoint-split-view/src/BreakpointSplitView/components/AlignmentConnections.tsx b/plugins/breakpoint-split-view/src/BreakpointSplitView/components/AlignmentConnections.tsx
index 4994f57c42..787316acab 100644
--- a/plugins/breakpoint-split-view/src/BreakpointSplitView/components/AlignmentConnections.tsx
+++ b/plugins/breakpoint-split-view/src/BreakpointSplitView/components/AlignmentConnections.tsx
@@ -59,13 +59,8 @@ const AlignmentConnections = observer(function ({
yOffset = rect.top
}
- if (!assembly) {
- return null
- }
-
- return (
+ return assembly ? (
@@ -133,6 +128,7 @@ const AlignmentConnections = observer(function ({
{
@@ -160,7 +156,7 @@ const AlignmentConnections = observer(function ({
return ret
})}
- )
+ ) : null
})
export default AlignmentConnections
diff --git a/products/jbrowse-web/src/tests/__image_snapshots__/breakpoint_split_view_snapshot.svg b/products/jbrowse-web/src/tests/__image_snapshots__/breakpoint_split_view_snapshot.svg
index c825f7c5b8..6466ca42d0 100644
--- a/products/jbrowse-web/src/tests/__image_snapshots__/breakpoint_split_view_snapshot.svg
+++ b/products/jbrowse-web/src/tests/__image_snapshots__/breakpoint_split_view_snapshot.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/products/jbrowse-web/src/tests/__snapshots__/BreakpointSplitView.test.tsx.snap b/products/jbrowse-web/src/tests/__snapshots__/BreakpointSplitView.test.tsx.snap
index ca234a5f21..db7c352ce4 100644
--- a/products/jbrowse-web/src/tests/__snapshots__/BreakpointSplitView.test.tsx.snap
+++ b/products/jbrowse-web/src/tests/__snapshots__/BreakpointSplitView.test.tsx.snap
@@ -4,16 +4,17 @@ exports[`breakpoint split view 1`] = `
diff --git a/products/jbrowse-web/src/tests/__snapshots__/ExportSvgBreakpointSplitView.test.tsx.snap b/products/jbrowse-web/src/tests/__snapshots__/ExportSvgBreakpointSplitView.test.tsx.snap
index b0e858bda7..0d8a41a9c5 100644
--- a/products/jbrowse-web/src/tests/__snapshots__/ExportSvgBreakpointSplitView.test.tsx.snap
+++ b/products/jbrowse-web/src/tests/__snapshots__/ExportSvgBreakpointSplitView.test.tsx.snap
@@ -1,3 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`export svg of breakpoint split view 1`] = `""`;
+exports[`export svg of breakpoint split view 1`] = `""`;