Skip to content

Commit

Permalink
Merge pull request #462 from alleslabs/fix/val-img
Browse files Browse the repository at this point in the history
fix: validator image
  • Loading branch information
evilpeach committed Aug 4, 2023
2 parents 7c2a330 + 6b6eb6e commit 32c4c8a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Bug fixes

- [#462](https://github.com/alleslabs/celatone-frontend/pull/462) Fix validator query dependencies
- [#460](https://github.com/alleslabs/celatone-frontend/pull/460) Fix icns names and contract address alignment
- [#459](https://github.com/alleslabs/celatone-frontend/pull/459) Fix contract txs by using contract account id instead of contract address
- [#456](https://github.com/alleslabs/celatone-frontend/pull/456) Fix pool count chip in pool transaction table
Expand Down
6 changes: 5 additions & 1 deletion src/lib/pages/blocks/components/BlocksTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ export const BlocksTable = ({ isViewMore }: BlocksTableProps) => {
scrollComponentId={scrollComponentId}
/>
{blocksData.map((block) => (
<BlocksRow templateColumns={TEMPLATE_COLUMNS} blockData={block} />
<BlocksRow
key={block.hash}
templateColumns={TEMPLATE_COLUMNS}
blockData={block}
/>
))}
</TableContainer>
)}
Expand Down
2 changes: 2 additions & 0 deletions src/lib/services/validatorService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ export const useValidatorImage = (
CELATONE_QUERY_KEYS.VALIDATOR_IDENTITY_BY_ADDRESS,
chainName,
validator?.validatorAddress,
validator?.identity,
validator?.moniker,
],
queryFn: async () => {
if (!validator) return Promise.resolve("");
Expand Down

2 comments on commit 32c4c8a

@vercel
Copy link

@vercel vercel bot commented on 32c4c8a Aug 4, 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 32c4c8a Aug 4, 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.