Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Nov 23, 2022
1 parent ce3ae61 commit a7d4720
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pages/docs/mutation.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ It broadcasts to SWR hooks under the same [cache provider](/docs/advanced/cache)
- `optimisticData`: data to immediately update the client cache, or a function that receives current data and returns the new client cache data, usually used in optimistic UI.
- `revalidate = true`: should the cache revalidate once the asynchronous update resolves.
- `populateCache = true`: should the result of the remote mutation be written to the cache, or a function that receives new result and current result as arguments and returns the mutation result.
- `rollbackOnError = true`: should the cache rollback if the remote mutation errors, or a function that receives the error thrown from fetcher as arguments and returns a boolean wether should rollback or not.
- `rollbackOnError = true`: should the cache rollback if the remote mutation errors, or a function that receives the error thrown from fetcher as arguments and returns a boolean whether should rollback or not.
- `throwOnError = true`: should the mutate call throw the error when fails.

#### Return Values
Expand Down
2 changes: 1 addition & 1 deletion pages/docs/mutation.es-ES.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ It broadcasts to SWR hooks under the same [cache provider](/docs/advanced/cache)
- `optimisticData`: data to immediately update the client cache, or a function that receives current data and returns the new client cache data, usually used in optimistic UI.
- `revalidate = true`: should the cache revalidate once the asynchronous update resolves.
- `populateCache = true`: should the result of the remote mutation be written to the cache, or a function that receives new result and current result as arguments and returns the mutation result.
- `rollbackOnError = true`: should the cache rollback if the remote mutation errors, or a function that receives the error thrown from fetcher as arguments and returns a boolean wether should rollback or not.
- `rollbackOnError = true`: should the cache rollback if the remote mutation errors, or a function that receives the error thrown from fetcher as arguments and returns a boolean whether should rollback or not.
- `throwOnError = true`: should the mutate call throw the error when fails.

#### Return Values
Expand Down
2 changes: 1 addition & 1 deletion pages/docs/mutation.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ It broadcasts to SWR hooks under the same [cache provider](/docs/advanced/cache)
- `optimisticData`: data to immediately update the client cache, or a function that receives current data and returns the new client cache data, usually used in optimistic UI.
- `revalidate = true`: should the cache revalidate once the asynchronous update resolves.
- `populateCache = true`: should the result of the remote mutation be written to the cache, or a function that receives new result and current result as arguments and returns the mutation result.
- `rollbackOnError = true`: should the cache rollback if the remote mutation errors, or a function that receives the error thrown from fetcher as arguments and returns a boolean wether should rollback or not.
- `rollbackOnError = true`: should the cache rollback if the remote mutation errors, or a function that receives the error thrown from fetcher as arguments and returns a boolean whether should rollback or not.
- `throwOnError = true`: should the mutate call throw the error when fails.

#### Return Values
Expand Down
2 changes: 1 addition & 1 deletion pages/docs/mutation.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ It broadcasts to SWR hooks under the same [cache provider](/docs/advanced/cache)
- `optimisticData`: data to immediately update the client cache, or a function that receives current data and returns the new client cache data, usually used in optimistic UI.
- `revalidate = true`: should the cache revalidate once the asynchronous update resolves.
- `populateCache = true`: should the result of the remote mutation be written to the cache, or a function that receives new result and current result as arguments and returns the mutation result.
- `rollbackOnError = true`: should the cache rollback if the remote mutation errors, or a function that receives the error thrown from fetcher as arguments and returns a boolean wether should rollback or not.
- `rollbackOnError = true`: should the cache rollback if the remote mutation errors, or a function that receives the error thrown from fetcher as arguments and returns a boolean whether should rollback or not.
- `throwOnError = true`: should the mutate call throw the error when fails.

#### Return Values
Expand Down
2 changes: 1 addition & 1 deletion pages/docs/mutation.pt-BR.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ It broadcasts to SWR hooks under the same [cache provider](/docs/advanced/cache)
- `optimisticData`: data to immediately update the client cache, or a function that receives current data and returns the new client cache data, usually used in optimistic UI.
- `revalidate = true`: should the cache revalidate once the asynchronous update resolves.
- `populateCache = true`: should the result of the remote mutation be written to the cache, or a function that receives new result and current result as arguments and returns the mutation result.
- `rollbackOnError = true`: should the cache rollback if the remote mutation errors, or a function that receives the error thrown from fetcher as arguments and returns a boolean wether should rollback or not.
- `rollbackOnError = true`: should the cache rollback if the remote mutation errors, or a function that receives the error thrown from fetcher as arguments and returns a boolean whether should rollback or not.
- `throwOnError = true`: should the mutate call throw the error when fails.

#### Return Values
Expand Down
2 changes: 1 addition & 1 deletion pages/docs/mutation.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ It broadcasts to SWR hooks under the same [cache provider](/docs/advanced/cache)
- `optimisticData`: data to immediately update the client cache, or a function that receives current data and returns the new client cache data, usually used in optimistic UI.
- `revalidate = true`: should the cache revalidate once the asynchronous update resolves.
- `populateCache = true`: should the result of the remote mutation be written to the cache, or a function that receives new result and current result as arguments and returns the mutation result.
- `rollbackOnError = true`: should the cache rollback if the remote mutation errors, or a function that receives the error thrown from fetcher as arguments and returns a boolean wether should rollback or not.
- `rollbackOnError = true`: should the cache rollback if the remote mutation errors, or a function that receives the error thrown from fetcher as arguments and returns a boolean whether should rollback or not.
- `throwOnError = true`: should the mutate call throw the error when fails.

#### Return Values
Expand Down
2 changes: 1 addition & 1 deletion pages/docs/mutation.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ It broadcasts to SWR hooks under the same [cache provider](/docs/advanced/cache)
- `optimisticData`: data to immediately update the client cache, or a function that receives current data and returns the new client cache data, usually used in optimistic UI.
- `revalidate = true`: should the cache revalidate once the asynchronous update resolves.
- `populateCache = true`: should the result of the remote mutation be written to the cache, or a function that receives new result and current result as arguments and returns the mutation result.
- `rollbackOnError = true`: should the cache rollback if the remote mutation errors, or a function that receives the error thrown from fetcher as arguments and returns a boolean wether should rollback or not.
- `rollbackOnError = true`: should the cache rollback if the remote mutation errors, or a function that receives the error thrown from fetcher as arguments and returns a boolean whether should rollback or not.
- `throwOnError = true`: should the mutate call throw the error when fails.

#### Return Values
Expand Down

0 comments on commit a7d4720

Please sign in to comment.