Page MenuHomePhabricator

D6220.diff
No OneTemporary

D6220.diff

diff --git a/patches/@rainbow-me+rainbowkit+0.5.3.patch b/patches/@rainbow-me+rainbowkit+0.5.3.patch
--- a/patches/@rainbow-me+rainbowkit+0.5.3.patch
+++ b/patches/@rainbow-me+rainbowkit+0.5.3.patch
@@ -1,7 +1,18 @@
diff --git a/node_modules/@rainbow-me/rainbowkit/dist/chunk-R7UVC5N6.js b/node_modules/@rainbow-me/rainbowkit/dist/chunk-R7UVC5N6.js
-index 275c804..ca20931 100644
+index 275c804..eab512c 100644
--- a/node_modules/@rainbow-me/rainbowkit/dist/chunk-R7UVC5N6.js
+++ b/node_modules/@rainbow-me/rainbowkit/dist/chunk-R7UVC5N6.js
+@@ -1625,8 +1625,8 @@ function abbreviateETHBalance(number) {
+
+ // src/components/ConnectButton/formatAddress.ts
+ function formatAddress(address) {
+- const leadingChars = 4;
+- const trailingChars = 4;
++ const leadingChars = 8;
++ const trailingChars = 10;
+ return address.length < leadingChars + trailingChars ? address : `${address.substring(0, leadingChars)}\u2026${address.substring(address.length - trailingChars)}`;
+ }
+
@@ -4590,5 +4590,6 @@ export {
useAccountModal,
useChainModal,

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 11:10 AM (21 h, 41 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2677132
Default Alt Text
D6220.diff (1 KB)

Event Timeline