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 committed Mar 15, 2023
1 parent 5c4d1a0 commit be655b2
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 @@ -66,6 +66,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

0 comments on commit be655b2

Please sign in to comment.