Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3489038
D6220.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D6220.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D6220: [patch] Patch `@rainbow-me/rainbowkit` to increase width of formatted address
Attached
Detach File
Event Timeline
Log In to Comment