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 = (
1515 ( ) =>
1616 isSSR
1717 ? DEFAULT_LOCALE
18- : window . navigator . languages . find ( ( locale ) => {
18+ : ( window . navigator . languages . find ( ( locale ) => {
1919 const language = parse ( locale ) . language ;
2020 return (
2121 language !== undefined &&
2222 language !== null &&
2323 SUPPORTED_LANGUAGES . has ( language )
2424 ) ;
25- } ) ?? DEFAULT_LOCALE ,
25+ } ) ?? DEFAULT_LOCALE ) ,
2626 [ isSSR ] ,
2727 ) ;
2828
Original file line number Diff line number Diff line change @@ -136,9 +136,7 @@ export const WormholeInstructionView = ({
136136 ? parsedInstruction . args [ key ]
137137 : parsedInstruction . args [ key ] instanceof
138138 Uint8Array
139- ? parsedInstruction . args [ key ] . toString (
140- 'hex'
141- )
139+ ? parsedInstruction . args [ key ] . toString ( )
142140 : typeof parsedInstruction . args [ key ] ===
143141 'bigint'
144142 ? parsedInstruction . args [ key ] . toString ( )
Original file line number Diff line number Diff line change @@ -549,7 +549,7 @@ export const Proposal = ({
549549 { typeof instruction . args [ key ] === 'string'
550550 ? instruction . args [ key ]
551551 : instruction . args [ key ] instanceof Uint8Array
552- ? instruction . args [ key ] . toString ( 'hex' )
552+ ? instruction . args [ key ] . toString ( )
553553 : typeof instruction . args [ key ] === 'bigint'
554554 ? instruction . args [ key ] . toString ( )
555555 : JSON . stringify ( instruction . args [ key ] ) }
You can’t perform that action at this time.
0 commit comments