Skip to content

Commit a52071a

Browse files
authored
Update README.md
Link `UseMutationRedirectOptions` for easy reading
1 parent 70e4071 commit a52071a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ I plan to offer support for older versions of React and RQ (TQ?)
1919

2020
1. import `useMutationRedirect`
2121
2. use it in place of `useMutation`
22-
3. provide options for `useMutation` as the first argument, and `UseMutationRedirectOptions` as the second
22+
3. provide options for `useMutation` as the first argument, and [`UseMutationRedirectOptions`](https://github.com/joeyfigaro/use-mutation-redirect/blob/main/src/lib/useMutationRedirect.ts#L12-L67) as the second
2323

2424
```tsx
2525
import { useState } from 'react';

0 commit comments

Comments
 (0)