Skip to content

Commit 121d7cb

Browse files
committed
Run Prettier on all files
1 parent d795da9 commit 121d7cb

File tree

6 files changed

+5
-8
lines changed

6 files changed

+5
-8
lines changed

docs/rtk-query/usage-with-typescript.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ function PostDetail() {
613613
<div>{errMsg}</div>
614614
</div>
615615
)
616-
}
616+
}
617617
// you can access all properties of `SerializedError` here
618618
return <div>{error.message}</div>
619619
}

docs/rtk-query/usage/code-generation.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export type EndpointMatcherFunction = (
119119
#### Filtering endpoints
120120
121121
If you only want to include a few endpoints, you can use the `filterEndpoints` config option to filter your endpoints.
122-
Note that endpoints are transformed to camel case. For example, `login_user` will become `loginUser`.
122+
Note that endpoints are transformed to camel case. For example, `login_user` will become `loginUser`.
123123
`filterEndpoints` will be checked against this camel case version of the endpoint.
124124
125125
```ts no-transpile title="openapi-config.ts"

docs/tutorials/quick-start.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,4 +303,4 @@ Here's the complete counter application as a running CodeSandbox:
303303

304304
## What's Next?
305305

306-
We recommend going through [**the "Redux Essentials" and "Redux Fundamentals" tutorials in the Redux core docs**](https://redux.js.org/tutorials/index), which will give you a complete understanding of how Redux works, what Redux Toolkit does, and how to use it correctly.
306+
We recommend going through [**the "Redux Essentials" and "Redux Fundamentals" tutorials in the Redux core docs**](https://redux.js.org/tutorials/index), which will give you a complete understanding of how Redux works, what Redux Toolkit does, and how to use it correctly.
+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { PostsManager } from './features/posts/PostsManager'
22

33
function App() {
4-
return (
5-
<PostsManager />
6-
)
4+
return <PostsManager />
75
}
86

97
export default App

examples/query/react/pagination/src/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ worker.start({ quiet: true }).then(() =>
1313
<React.StrictMode>
1414
<ApiProvider api={api}>
1515
<ChakraProvider>
16-
<App />
16+
<App />
1717
</ChakraProvider>
1818
</ApiProvider>
1919
</React.StrictMode>,

packages/toolkit/src/query/retry.ts

-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ const retryWithBackoff: BaseQueryEnhancer<
103103
}
104104
let retry = 0
105105

106-
107106
while (true) {
108107
try {
109108
const result = await baseQuery(args, api, extraOptions)

0 commit comments

Comments
 (0)