Skip to content

Commit 531c426

Browse files
committed
chore: Apply formatting
1 parent c49e92d commit 531c426

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/shared/src/react/hooks/useReverification.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,15 @@ function createReverificationHandler(params: CreateReverificationHandlerParams)
169169
* type MyData = {
170170
* balance: number
171171
* }
172-
*
172+
*
173173
* export function MyButton() {
174174
* const fetchMyData = () => fetch('/api/balance').then(res=> res.json() as Promise<MyData>)
175175
* const enhancedFetcher = useReverification(fetchMyData);
176176
*
177177
* const handleClick = async () => {
178178
* try {
179179
* const myData = await enhancedFetcher()
180-
* // ^ is types as `MyData`
180+
* // ^ is types as `MyData`
181181
* } catch (e) {
182182
* // Handle error returned from the fetcher here
183183
*

0 commit comments

Comments
 (0)