Skip to content

Commit cba46b5

Browse files
docs: fix relative links (#9262)
* fix relative links * Update mutations.md
1 parent 10b4c2f commit cba46b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/framework/react/guides/mutations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ queryClient.resumePausedMutations()
343343

344344
### Persisting Offline mutations
345345

346-
If you persist offline mutations with the [persistQueryClient plugin](../plugins/persistQueryClient.md), mutations cannot be resumed when the page is reloaded unless you provide a default mutation function.
346+
If you persist offline mutations with the [persistQueryClient plugin](../../plugins/persistQueryClient.md), mutations cannot be resumed when the page is reloaded unless you provide a default mutation function.
347347

348348
This is a technical limitation. When persisting to an external storage, only the state of mutations is persisted, as functions cannot be serialized. After hydration, the component that triggers the mutation might not be mounted, so calling `resumePausedMutations` might yield an error: `No mutationFn found`.
349349

@@ -386,7 +386,7 @@ export default function App() {
386386

387387
[//]: # 'Example11'
388388

389-
We also have an extensive [offline example](../examples/offline) that covers both queries and mutations.
389+
We also have an extensive [offline example](../../examples/offline) that covers both queries and mutations.
390390

391391
## Mutation Scopes
392392

@@ -408,7 +408,7 @@ const mutation = useMutation({
408408

409409
## Further reading
410410

411-
For more information about mutations, have a look at [#12: Mastering Mutations in React Query](../community/tkdodos-blog.md#12-mastering-mutations-in-react-query) from
411+
For more information about mutations, have a look at [#12: Mastering Mutations in React Query](../../community/tkdodos-blog.md#12-mastering-mutations-in-react-query) from
412412
the Community Resources.
413413

414414
[//]: # 'Materials'

0 commit comments

Comments
 (0)