Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.

Commit 77e1a22

Browse files
authored
Merge pull request #157 from unicape/1.x
fix: useBlock parameters passthrough
2 parents be9c803 + 75cda44 commit 77e1a22

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/tasty-bugs-sing.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"use-wagmi": patch
3+
---
4+
5+
useBlock parameters passthrough

packages/vue/src/hooks/useBlock.ts

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export function useBlock<
112112
const { query = {} } = _parameters
113113

114114
const options = getBlockQueryOptions(config, {
115+
..._parameters,
115116
chainId: _parameters.chainId ?? chainId.value,
116117
})
117118
const enabled = Boolean(query.enabled ?? true)

0 commit comments

Comments
 (0)