Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Dec 12, 2024
1 parent a78b641 commit ea23a23
Show file tree
Hide file tree
Showing 5 changed files with 11,855 additions and 8,062 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.aider*
.env
gensplore-component/.yarn/install-state.gz
1 change: 1 addition & 0 deletions gensplore-component/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion gensplore-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,6 @@
"last 1 firefox version",
"last 1 safari version"
]
}
},
"packageManager": "[email protected]+sha512.4e502bea682e7d8004561f916f1da2dfbe6f718024f6aa50bf8cd86f38ea3a94a7f1bf854a9ca666dd8eafcfb8d44baaa91bf5c7876e79a7aeac952c332f0e88"
}
32 changes: 17 additions & 15 deletions gensplore-component/src/components/GensploreView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -334,21 +334,6 @@ if (hit1 === -1) {
}, [genbankData]);



//console.log("virtualItems", virtualItems);

if (!genbankData) {
return <div>Loading...</div>;
}

if (!width) {
return (
<div className="w-full h-full p-5">
<div ref={ref} className="w-full h-full" />
</div>
);
}

// Handle context menu
const handleContextMenu = (e) => {
e.preventDefault();
Expand Down Expand Up @@ -393,6 +378,23 @@ if (hit1 === -1) {
};
}, []);



//console.log("virtualItems", virtualItems);

if (!genbankData) {
return <div>Loading...</div>;
}

if (!width) {
return (
<div className="w-full h-full p-5">
<div ref={ref} className="w-full h-full" />
</div>
);
}


return (<>
<div onContextMenu={handleContextMenu}>
<Dialog
Expand Down
Loading

0 comments on commit ea23a23

Please sign in to comment.