Skip to content

Commit

Permalink
Merge pull request #238 from alleslabs/fix/sidebar-active-tab
Browse files Browse the repository at this point in the history
Fix incorrect isCurrentPage for overview page
  • Loading branch information
evilpeach authored Mar 15, 2023
2 parents 3f8d4ea + fce78ec commit ba19526
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Bug fixes

- [#238](https://github.com/alleslabs/celatone-frontend/pull/238) Fix incorrect isCurrentPage for overview page
- [#235](https://github.com/alleslabs/celatone-frontend/pull/235) Fix css bugs and aesthetics improvement
- [#236](https://github.com/alleslabs/celatone-frontend/pull/236) Add alphabetically sorting to JSON attach funds
- [#231](https://github.com/alleslabs/celatone-frontend/pull/231) Fix double slash for endpoint, disable calling endpoint when there is no contract addr in contract details page
Expand Down
2 changes: 1 addition & 1 deletion src/lib/layout/navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Navbar = observer(({ isExpand, setIsExpand }: NavbarProps) => {
switch (slug) {
// handle home page
case "/":
return pathName === `${networkPath}`;
return pathName === `${networkPath}` || pathName === "/";
// handle contract list page and public project page
case "/contract-list":
case "/public-project":
Expand Down

2 comments on commit ba19526

@vercel
Copy link

@vercel vercel bot commented on ba19526 Mar 15, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on ba19526 Mar 15, 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.