We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c49e92d commit 531c426Copy full SHA for 531c426
packages/shared/src/react/hooks/useReverification.ts
@@ -169,15 +169,15 @@ function createReverificationHandler(params: CreateReverificationHandlerParams)
169
* type MyData = {
170
* balance: number
171
* }
172
- *
+ *
173
* export function MyButton() {
174
* const fetchMyData = () => fetch('/api/balance').then(res=> res.json() as Promise<MyData>)
175
* const enhancedFetcher = useReverification(fetchMyData);
176
*
177
* const handleClick = async () => {
178
* try {
179
* const myData = await enhancedFetcher()
180
- * // ^ is types as `MyData`
+ * // ^ is types as `MyData`
181
* } catch (e) {
182
* // Handle error returned from the fetcher here
183
0 commit comments