Skip to content

Commit

Permalink
Merge pull request #479 from jrr997/fix/connect-button
Browse files Browse the repository at this point in the history
fix: fix intl for connect-button
  • Loading branch information
jrr997 authored Jan 9, 2024
2 parents f93aedf + 9f62728 commit 7339e20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/shy-rice-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ant-design/web3': patch
---

fix: fix intl for connect-button
2 changes: 1 addition & 1 deletion packages/web3/src/connect-button/connect-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export const ConnectButton: React.FC<ConnectButtonProps> = (props) => {
const defaultMenuItems: MenuItemType[] = useMemo(
() => [
{
label: 'Copy Address',
label: intl.getMessage(intl.messages.copyAddress),
key: 'copyAddress',
onClick: () => {
setProfileOpen(false);
Expand Down

0 comments on commit 7339e20

Please sign in to comment.