Skip to content

Commit

Permalink
Fix typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
zencephalon committed Nov 8, 2023
1 parent 2313c77 commit 53ddaa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
23 changes: 3 additions & 20 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,44 +1,27 @@
export {
useSimulateDepositERC20,
type UseSimulateDepositERC20Parameters,
type UseSimulateDepositERC20ReturnType,
} from './hooks/L1/useSimulateDepositERC20.js'
export {
useSimulateDepositETH,
type UseSimulateDepositETHParameters,
type UseSimulateDepositETHReturnType,
} from './hooks/L1/useSimulateDepositETH.js'
export { useSimulateDepositERC20, type UseSimulateDepositERC20Parameters } from './hooks/L1/useSimulateDepositERC20.js'
export { useSimulateDepositETH, type UseSimulateDepositETHParameters } from './hooks/L1/useSimulateDepositETH.js'
export {
useWriteDepositERC20,
type UseWriteDepositERC20Parameters,
type UseWriteDepositERC20ReturnType,
type WriteDepositERC20Parameters,
} from './hooks/L1/useWriteDepositERC20.js'
export {
useWriteDepositETH,
type UseWriteDepositETHParameters,
type UseWriteDepositETHReturnType,
type WriteDepositETHParameters,
} from './hooks/L1/useWriteDepositETH.js'
export {
useSimulateWithdrawERC20,
type UseSimulateWithdrawERC20Parameters,
type UseSimulateWithdrawERC20ReturnType,
} from './hooks/L2/useSimulateWithdrawERC20.js'
export {
useSimulateWithdrawETH,
type UseSimulateWithdrawETHParameters,
type UseSimulateWithdrawETHReturnType,
} from './hooks/L2/useSimulateWithdrawETH.js'
export { useSimulateWithdrawETH, type UseSimulateWithdrawETHParameters } from './hooks/L2/useSimulateWithdrawETH.js'
export {
useWriteWithdrawERC20,
type UseWriteWithdrawERC20Parameters,
type UseWriteWithdrawERC20ReturnType,
type WriteWithdrawERC20Parameters,
} from './hooks/L2/useWriteWithdrawERC20.js'
export {
useWriteWithdrawETH,
type UseWriteWithdrawETHParameters,
type UseWriteWithdrawETHReturnType,
type WriteWithdrawETHParameters,
} from './hooks/L2/useWriteWithdrawETH.js'
1 change: 1 addition & 0 deletions src/util/getStateTrieProof.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export function useMakeStateTrieProof(
setProof(proof)
}
f()
return
}, [client, blockNumber, address, slot, setProof])

return proof
Expand Down

0 comments on commit 53ddaa8

Please sign in to comment.