Skip to content

Commit

Permalink
Merge pull request #22 from theosanderson/seq-search
Browse files Browse the repository at this point in the history
up
  • Loading branch information
theosanderson authored Jul 28, 2023
2 parents 029946c + 7aff974 commit dd1ba2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function GensploreView({ genbankString, searchInput, setSearchInput }) {
// safely convert searchInput to int
const intSearchInput = searchType === "nuc" ? parseInt(searchInput) : null;
const annotSearchInput = searchType === "annot" ? searchInput : null;
const sequenceSearchInput = searchType === "sequence" ? searchInput.toUpperCase() : null;
const sequenceSearchInput = searchType === "sequence" && searchInput ? searchInput.toUpperCase() : null;

const [whereOnPage, setWhereOnPage] = useState(0);

Expand Down

1 comment on commit dd1ba2b

@vercel
Copy link

@vercel vercel bot commented on dd1ba2b Jul 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.