diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1e2ec1e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+.aider*
+.env
+gensplore-component/.yarn/install-state.gz
diff --git a/gensplore-component/.yarnrc.yml b/gensplore-component/.yarnrc.yml
new file mode 100644
index 0000000..3186f3f
--- /dev/null
+++ b/gensplore-component/.yarnrc.yml
@@ -0,0 +1 @@
+nodeLinker: node-modules
diff --git a/gensplore-component/package.json b/gensplore-component/package.json
index e9b9eba..ec5ec71 100644
--- a/gensplore-component/package.json
+++ b/gensplore-component/package.json
@@ -85,5 +85,6 @@
"last 1 firefox version",
"last 1 safari version"
]
- }
+ },
+ "packageManager": "yarn@4.0.2+sha512.4e502bea682e7d8004561f916f1da2dfbe6f718024f6aa50bf8cd86f38ea3a94a7f1bf854a9ca666dd8eafcfb8d44baaa91bf5c7876e79a7aeac952c332f0e88"
}
diff --git a/gensplore-component/src/components/GensploreView.jsx b/gensplore-component/src/components/GensploreView.jsx
index f7bbd5d..48e9572 100644
--- a/gensplore-component/src/components/GensploreView.jsx
+++ b/gensplore-component/src/components/GensploreView.jsx
@@ -334,21 +334,6 @@ if (hit1 === -1) {
}, [genbankData]);
-
- //console.log("virtualItems", virtualItems);
-
- if (!genbankData) {
- return
Loading...
;
- }
-
- if (!width) {
- return (
-
- );
- }
-
// Handle context menu
const handleContextMenu = (e) => {
e.preventDefault();
@@ -393,6 +378,23 @@ if (hit1 === -1) {
};
}, []);
+
+
+ //console.log("virtualItems", virtualItems);
+
+ if (!genbankData) {
+ return Loading...
;
+ }
+
+ if (!width) {
+ return (
+
+ );
+ }
+
+
return (<>