File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ const Layer2Onboard: React.FC<IProps> = ({
176
176
)
177
177
}
178
178
179
- const selectExchangeOnboard = ( option : ExchangeOption | CexOnboardOption ) => {
179
+ const selectExchangeOnboard = ( option : ExchangeOption & CexOnboardOption ) => {
180
180
if ( Object . hasOwn ( option , "cex" ) ) {
181
181
trackCustomEvent ( {
182
182
eventCategory : `Selected cex to onboard` ,
@@ -301,7 +301,7 @@ const Layer2Onboard: React.FC<IProps> = ({
301
301
options : [ ...cexOnboardOptions ] ,
302
302
} ,
303
303
] }
304
- onChange = { ( selectedOption : ExchangeOption | CexOnboardOption ) => {
304
+ onChange = { ( selectedOption : ExchangeOption & CexOnboardOption ) => {
305
305
selectExchangeOnboard ( selectedOption )
306
306
} }
307
307
placeholder = { t ( "layer-2-onboard-exchange-input-placeholder" ) }
You can’t perform that action at this time.
0 commit comments