Skip to content

Commit

Permalink
chore: remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKheops committed Dec 24, 2024
1 parent 848720e commit a3f2945
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,13 +303,9 @@ const useLedgerAccountAddress = (
})

const [state, setState] = useState<{
// isBusy: boolean
// error: string | undefined // TODO vraiment besoin ?
account: CustomAccountDetails | undefined
address: string | undefined
}>({
// isBusy: false,
// error: undefined,
account: account,
address: undefined,
})
Expand Down Expand Up @@ -363,9 +359,7 @@ const useLedgerAccountAddress = (

return useMemo(() => {
return {
// isBusy: state.isBusy,
address: state.account === account ? state.address : undefined,
// error: state.account === account ? state.error : undefined, // TODO vraiment besoin ?
connectionStatus,
}
}, [state, account, connectionStatus])
Expand Down

0 comments on commit a3f2945

Please sign in to comment.