Skip to content

Commit

Permalink
Add TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kkosiorowska committed Apr 10, 2024
1 parent f0a798b commit 634ac12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dapp/src/acre-react/hooks/useStakeFlow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ export function useStakeFlow(): UseStakeFlowReturn {

const stake = useCallback(async () => {
if (!stakeFlow) throw new Error("Initialize stake first")

// The current waiting time for repeat transactions is very long.
// TODO: Find the right value and pass it as additional options.
await stakeFlow.stake()
}, [stakeFlow])

Expand Down

0 comments on commit 634ac12

Please sign in to comment.