Skip to content

Commit

Permalink
Merge pull request #300 from alleslabs/fix/lite-explorer
Browse files Browse the repository at this point in the history
fix: search bar placeholder, remove comma
  • Loading branch information
evilpeach committed Apr 27, 2023
2 parents f1dbc56 + 49324be commit fc03f2e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Bug fixes

- [#300](https://github.com/alleslabs/celatone-frontend/pull/300) Fix search bar's placeholder text and remove separator in latest block height
- [#290](https://github.com/alleslabs/celatone-frontend/pull/290) Fix spacing and styling in account detail
- [#280](https://github.com/alleslabs/celatone-frontend/pull/280) Fix begin unlocking optional coins field causing crash
- [#269](https://github.com/alleslabs/celatone-frontend/pull/269) Fix array value json string format and receipt row text color
Expand Down
4 changes: 2 additions & 2 deletions src/lib/layout/Searchbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ const Searchbar = () => {
const boxRef = useRef<HTMLDivElement>(null);
const chainConfig = getChainConfig();

let placeholder = "Search by Wallet Address / Contract Address / Tx Hash / ";
placeholder += chainConfig.isWasm ? "Code ID" : "Block";
let placeholder = "Search by Wallet Address / Tx Hash / ";
placeholder += chainConfig.isWasm ? "Code ID / Contract Address" : "Block";

useEffect(() => {
const res: SearchResultType[] = [];
Expand Down
2 changes: 1 addition & 1 deletion src/lib/pages/network-overview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const NetworkOverview = () => {
<CardInfo
title={blockInfo.title}
tooltip={blockInfo.tooltip}
value={latestBlockInfo?.height?.toLocaleString() ?? "N/A"}
value={latestBlockInfo?.height?.toString() ?? "N/A"}
isLoading={isLoadingLatestBlockInfo}
navigate={toBlocks}
/>
Expand Down

2 comments on commit fc03f2e

@vercel
Copy link

@vercel vercel bot commented on fc03f2e Apr 27, 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 fc03f2e Apr 27, 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.