File tree Expand file tree Collapse file tree 4 files changed +1400
-12040
lines changed
apps/staking/src/components/Root
governance/xc_admin/packages/xc_admin_frontend/components Expand file tree Collapse file tree 4 files changed +1400
-12040
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ export const I18nProvider = (
15
15
( ) =>
16
16
isSSR
17
17
? DEFAULT_LOCALE
18
- : window . navigator . languages . find ( ( locale ) => {
18
+ : ( window . navigator . languages . find ( ( locale ) => {
19
19
const language = parse ( locale ) . language ;
20
20
return (
21
21
language !== undefined &&
22
22
language !== null &&
23
23
SUPPORTED_LANGUAGES . has ( language )
24
24
) ;
25
- } ) ?? DEFAULT_LOCALE ,
25
+ } ) ?? DEFAULT_LOCALE ) ,
26
26
[ isSSR ] ,
27
27
) ;
28
28
Original file line number Diff line number Diff line change @@ -136,9 +136,7 @@ export const WormholeInstructionView = ({
136
136
? parsedInstruction . args [ key ]
137
137
: parsedInstruction . args [ key ] instanceof
138
138
Uint8Array
139
- ? parsedInstruction . args [ key ] . toString (
140
- 'hex'
141
- )
139
+ ? parsedInstruction . args [ key ] . toString ( )
142
140
: typeof parsedInstruction . args [ key ] ===
143
141
'bigint'
144
142
? parsedInstruction . args [ key ] . toString ( )
Original file line number Diff line number Diff line change @@ -549,7 +549,7 @@ export const Proposal = ({
549
549
{ typeof instruction . args [ key ] === 'string'
550
550
? instruction . args [ key ]
551
551
: instruction . args [ key ] instanceof Uint8Array
552
- ? instruction . args [ key ] . toString ( 'hex' )
552
+ ? instruction . args [ key ] . toString ( )
553
553
: typeof instruction . args [ key ] === 'bigint'
554
554
? instruction . args [ key ] . toString ( )
555
555
: JSON . stringify ( instruction . args [ key ] ) }
You can’t perform that action at this time.
0 commit comments