Skip to content

Commit

Permalink
Run Prettier on all files
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Jun 5, 2024
1 parent d795da9 commit 121d7cb
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/rtk-query/usage-with-typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ function PostDetail() {
<div>{errMsg}</div>
</div>
)
}
}
// you can access all properties of `SerializedError` here
return <div>{error.message}</div>
}
Expand Down
2 changes: 1 addition & 1 deletion docs/rtk-query/usage/code-generation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export type EndpointMatcherFunction = (
#### Filtering endpoints
If you only want to include a few endpoints, you can use the `filterEndpoints` config option to filter your endpoints.
Note that endpoints are transformed to camel case. For example, `login_user` will become `loginUser`.
Note that endpoints are transformed to camel case. For example, `login_user` will become `loginUser`.
`filterEndpoints` will be checked against this camel case version of the endpoint.
```ts no-transpile title="openapi-config.ts"
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -303,4 +303,4 @@ Here's the complete counter application as a running CodeSandbox:

## What's Next?

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.
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.
4 changes: 1 addition & 3 deletions examples/query/react/pagination/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { PostsManager } from './features/posts/PostsManager'

function App() {
return (
<PostsManager />
)
return <PostsManager />
}

export default App
2 changes: 1 addition & 1 deletion examples/query/react/pagination/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ worker.start({ quiet: true }).then(() =>
<React.StrictMode>
<ApiProvider api={api}>
<ChakraProvider>
<App />
<App />
</ChakraProvider>
</ApiProvider>
</React.StrictMode>,
Expand Down
1 change: 0 additions & 1 deletion packages/toolkit/src/query/retry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ const retryWithBackoff: BaseQueryEnhancer<
}
let retry = 0


while (true) {
try {
const result = await baseQuery(args, api, extraOptions)
Expand Down

0 comments on commit 121d7cb

Please sign in to comment.