Skip to content

Commit

Permalink
fix: Update AddressInput component to forward web3 configs to Avatar …
Browse files Browse the repository at this point in the history
…component
  • Loading branch information
cgero-eth committed Oct 1, 2024
1 parent 1816f00 commit c3ddb5e
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 @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Fixed

- Fix truncation issue on `VoteProposalDataListItem` module component
- Update `AddressInput` module component to forward `chainId` and `wagmiConfig` to `MemberAvatar` component

### Changed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export const AddressInput = forwardRef<HTMLTextAreaElement, IAddressInputProps>(
<InputContainer {...containerProps}>
<div className="ml-3 shrink-0">
{isLoading && <Spinner variant="neutral" size="lg" />}
{!isLoading && <MemberAvatar address={addressValue} />}
{!isLoading && <MemberAvatar address={addressValue} chainId={chainId} wagmiConfig={wagmiConfig} />}
</div>
<textarea
type="text"
Expand Down

0 comments on commit c3ddb5e

Please sign in to comment.