File tree 2 files changed +3
-4
lines changed
packages/app-portal/src/systems
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const selectors = {
30
30
assetBalance,
31
31
} : {
32
32
ethAccount ?: string ;
33
- fuelAccount ?: string ;
33
+ fuelAccount ?: string | null ;
34
34
assetBalance ?: BN ;
35
35
} ) =>
36
36
( state : BridgeMachineState ) => {
@@ -223,7 +223,6 @@ export function useBridge() {
223
223
store . startBridging ( {
224
224
fuelAddress,
225
225
ethWalletClient,
226
- fuelWallet,
227
226
fuelProvider,
228
227
ethAddress,
229
228
asset,
Original file line number Diff line number Diff line change @@ -53,14 +53,14 @@ export const useFuelAccountConnection = (props?: { assetId?: string }) => {
53
53
closeDialog : store . closeOverlay ,
54
54
addAsset,
55
55
} ,
56
- account,
56
+ account : account || undefined ,
57
57
address,
58
58
isConnected : ! ! account ,
59
59
error,
60
60
isLoadingConnection,
61
61
isConnecting,
62
62
provider : fuelProvider ,
63
63
balance,
64
- wallet,
64
+ wallet : wallet || undefined ,
65
65
} ;
66
66
} ;
You can’t perform that action at this time.
0 commit comments