Skip to content

Commit 8c59ee1

Browse files
refactor(address): copyable prop default is false (#882)
* style(address): copyable prop default is false * Update .changeset/cool-windows-float.md --------- Co-authored-by: thinkasany <[email protected]>
1 parent 17c450f commit 8c59ee1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/cool-windows-float.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ant-design/web3": patch
3+
---
4+
5+
refactor(address): copyable prop default is false

packages/web3/src/address/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const Address: React.FC<React.PropsWithChildren<AddressProps>> = (props)
3030
ellipsis,
3131
addressPrefix: addressPrefixProp,
3232
address,
33-
copyable,
33+
copyable = false,
3434
tooltip = true,
3535
format = false,
3636
children,

0 commit comments

Comments
 (0)