File tree 3 files changed +5
-4
lines changed
name-details/__snapshots__
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ exports[`Name renders address with long saved name 1`] = `
79
79
<p
80
80
class = " mm-box mm-text name__name mm-text--body-md mm-box--color-text-default"
81
81
>
82
- Very long and l ...
82
+ Very long an ...
83
83
</p >
84
84
</div >
85
85
</div >
Original file line number Diff line number Diff line change @@ -753,7 +753,7 @@ exports[`NameDetails renders with recognized name 1`] = `
753
753
<p
754
754
class = " mm-box mm-text name__name mm-text--body-md mm-box--color-text-default"
755
755
>
756
- iZUMi Bond USD
756
+ iZUMi Bond U...
757
757
</p >
758
758
</div >
759
759
</div >
Original file line number Diff line number Diff line change @@ -103,9 +103,10 @@ const Name = memo(
103
103
} , [ setModalOpen ] ) ;
104
104
105
105
const formattedValue = formatValue ( value , type ) ;
106
+ const MAX_PET_NAME_LENGTH = 12 ;
106
107
const formattedName = shortenString ( name || undefined , {
107
- truncatedCharLimit : 15 ,
108
- truncatedStartChars : 15 ,
108
+ truncatedCharLimit : MAX_PET_NAME_LENGTH ,
109
+ truncatedStartChars : MAX_PET_NAME_LENGTH ,
109
110
truncatedEndChars : 0 ,
110
111
skipCharacterInEnd : true ,
111
112
} ) ;
You can’t perform that action at this time.
0 commit comments