Skip to content

Commit

Permalink
call callback
Browse files Browse the repository at this point in the history
  • Loading branch information
sdankel committed Feb 22, 2024
1 parent 208f204 commit a9c403e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/features/toolbar/hooks/useConnectIfNotAlready.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export function useConnectIfNotAlready() {

if (!isConnected && !isConnecting) {
connect();
} else {
connectedCallback();
}
},
[connect, isConnected, isConnecting]
Expand Down

0 comments on commit a9c403e

Please sign in to comment.