From 299ea335915e9e4029a4f66858d573935f8a9e4e Mon Sep 17 00:00:00 2001 From: Sawit Trisirisatayawong Date: Tue, 19 Dec 2023 18:16:33 +0700 Subject: [PATCH] chore: temporarily hide sei block times --- CHANGELOG.md | 1 + src/lib/pages/home/index.tsx | 26 ++++++++++++++++++-------- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f27b2dbb..af170824d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,6 +47,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Features +- [#680](https://github.com/alleslabs/celatone-frontend/pull/680) Temporarily hide sei block time - [#679](https://github.com/alleslabs/celatone-frontend/pull/679) Temporarily update sei pacific graphql endpoint - [#661](https://github.com/alleslabs/celatone-frontend/pull/661) Add stone-12-1 network - [#642](https://github.com/alleslabs/celatone-frontend/pull/642) Add stone-12 network diff --git a/src/lib/pages/home/index.tsx b/src/lib/pages/home/index.tsx index 3dc88d255..64afa8235 100644 --- a/src/lib/pages/home/index.tsx +++ b/src/lib/pages/home/index.tsx @@ -114,7 +114,7 @@ const Home = () => { const navigate = useInternalNavigate(); const isMobile = useMobile(); const { - chainConfig: { prettyName }, + chainConfig: { prettyName, chain }, } = useCelatoneApp(); const { data: latestBlockInfo, @@ -213,13 +213,23 @@ const Home = () => { isLoading={isLoadingLatestBlockInfo} navigate={toBlocks} /> - + {chain === "sei" ? ( + + ) : ( + + )} {!isMobile && (