+ <>
+ {assemblies.map((assembly, idx) => (
+
+
Row {idx + 1}:
+
{
+ setAssemblies(
+ assemblies.map((value, index) =>
+ index === idx ? newValue : value,
+ ),
+ )
+ }}
+ session={session}
+ />
+
+ ))}
+
+
-
-
+
+ >
+ {
+ setCurrIdx(currIdx - 1)
+ }}
+ >
+
+
+ = assemblies.length - 2}
+ onClick={() => {
+ setCurrIdx(currIdx + 1)
+ }}
+ >
+
+
{
+ const clone = [...showTrackId]
+ clone[currIdx] = arg
+ setShowTrackId(clone)
+ }}
+ assembly1={assemblies[currIdx]!}
+ assembly2={assemblies[currIdx + 1]!}
+ setSessionTrackData={arg => {
+ const clone = [...sessionTrackData]
+ clone[currIdx] = arg
+ setSessionTrackData(clone)
+ }}
+ sessionTrackData={sessionTrackData[currIdx]}
model={model}
/>
diff --git a/plugins/linear-comparative-view/src/LinearSyntenyView/components/LinearSyntenyView.tsx b/plugins/linear-comparative-view/src/LinearSyntenyView/components/LinearSyntenyView.tsx
index b7145c4907..b9662b7c4e 100644
--- a/plugins/linear-comparative-view/src/LinearSyntenyView/components/LinearSyntenyView.tsx
+++ b/plugins/linear-comparative-view/src/LinearSyntenyView/components/LinearSyntenyView.tsx
@@ -9,7 +9,7 @@ const ImportForm = lazy(() => import('./ImportForm'))
type LSV = LinearSyntenyViewModel
-const LinearSyntenyView = observer(({ model }: { model: LSV }) => {
+const LinearSyntenyView = observer(function ({ model }: { model: LSV }) {
return !model.initialized ? (