Skip to content

Commit

Permalink
Update GensploreView.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Feb 6, 2024
1 parent 2898173 commit 6dbd0b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gensplore-component/src/components/GensploreView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,9 @@ if (hit1 === -1) {
start = hit + 1;
}
setSequenceHits(seqHits);
if(seqHits.length==0){
return
}

const row = Math.floor(seqHits[curSeqHitIndex][0] / rowWidth);
console.log("row", row);
Expand Down

0 comments on commit 6dbd0b0

Please sign in to comment.