Skip to content

Commit 1704dc1

Browse files
phryneastannerlinsleymsutkowskinickserv
authored
merge main into next (#132)
* docs: update comparison (#103) Adds "declarative" as an option for API definition for React Query. With v3, you can now configure all of your queries and mutations up front before calling them. * Add algolia config (#126) * use authorization instead of authentication (#128) * run tests on PRs * Link directly to #redux on Reactiflux (#127) Co-authored-by: Matt Sutkowski <[email protected]> Co-authored-by: Tanner Linsley <[email protected]> Co-authored-by: Matt Sutkowski <[email protected]> Co-authored-by: Nick McCurdy <[email protected]>
1 parent 9633327 commit 1704dc1

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<p align="center">
66
<img src="https://img.shields.io/badge/ALPHA-pre%20release-orange">
7-
<a href="https://discord.gg/reactiflux" target="_blank">
7+
<a href="https://discord.gg/0ZcbPKXt5bZ6au5t" target="_blank">
88
<img src="https://img.shields.io/badge/chat-online-green" alt="Discord server" />
99
</a>
1010
</p>

docs/introduction/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,6 @@ Those are the basics of getting up and running with RTK Query. For more realisti
174174

175175
## Help and Discussion
176176

177-
The **[#redux channel](https://discord.gg/reactiflux)** of the **[Reactiflux Discord community](http://www.reactiflux.com)** is our official resource for all questions related to learning and using Redux. Reactiflux is a great place to hang out, ask questions, and learn - come join us!
177+
The **[#redux channel](https://discord.gg/0ZcbPKXt5bZ6au5t)** of the **[Reactiflux Discord community](http://www.reactiflux.com)** is our official resource for all questions related to learning and using Redux. Reactiflux is a great place to hang out, ask questions, and learn - come join us!
178178

179179
You can also ask questions on [Stack Overflow](https://stackoverflow.com) using the **[#redux tag](https://stackoverflow.com/questions/tagged/redux)**.

examples/react/src/app/services/posts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const baseQuery = fetchBaseQuery({
2323
// By default, if we have a token in the store, let's use that for authenticated requests
2424
const token = (getState() as RootState).auth.token;
2525
if (token) {
26-
headers.set('authentication', `Bearer ${token}`);
26+
headers.set('authorization', `Bearer ${token}`);
2727
}
2828
return headers;
2929
},

website/docusaurus.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ module.exports = {
1212
organizationName: 'rtk-incubator', // Usually your GitHub org/user name.
1313
projectName: 'rtk-query', // Usually your repo name.
1414
themeConfig: {
15+
algolia: {
16+
apiKey: '59c7887d3d06cf3e4d774d2caf0dcb4b',
17+
indexName: 'rtk-query-docs',
18+
19+
searchParameters: {},
20+
},
1521
navbar: {
1622
title: 'RTK Query',
1723
logo: {
@@ -64,7 +70,7 @@ module.exports = {
6470
},
6571
{
6672
label: 'Discord',
67-
href: 'https://discordapp.com/invite/reactiflux',
73+
href: 'https://discord.gg/0ZcbPKXt5bZ6au5t',
6874
},
6975
],
7076
},

0 commit comments

Comments
 (0)