Skip to content

Commit

Permalink
fix: navigation in assay tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Mar 15, 2022
1 parent 2a68d0f commit 8bcb3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/PeakResults.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const PeakResults = () => {
return <NavItem key={assay}>
<NavLink
className={cx({active: activeAssay === assay})}
onClick={() => nPeaks && navigate(`/${chrom}/${position}/${assay}`, {replace: true})}
onClick={() => nPeaks && navigate(`/locus/${chrom}/${position}/${assay}`, {replace: true})}
disabled={!nPeaks}
aria-disabled={true}
>
Expand Down

0 comments on commit 8bcb3ee

Please sign in to comment.