From 2871018453ec828e6597348017637ad8f0d883ce Mon Sep 17 00:00:00 2001 From: evilpeach Date: Tue, 14 Mar 2023 14:24:48 +0700 Subject: [PATCH 1/2] fix: isCurrentPage --- src/lib/layout/navbar/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/layout/navbar/index.tsx b/src/lib/layout/navbar/index.tsx index 7ae5e2614..8edaad7fe 100644 --- a/src/lib/layout/navbar/index.tsx +++ b/src/lib/layout/navbar/index.tsx @@ -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": From fce78ec8078b3b3208ab87eb7395d8c0e23d1869 Mon Sep 17 00:00:00 2001 From: evilpeach Date: Tue, 14 Mar 2023 14:39:34 +0700 Subject: [PATCH 2/2] docs: changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ffdce292..9d85f0101 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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