From 19bdb1cb7131f22419d3e85bfa4575e5e0c886fe Mon Sep 17 00:00:00 2001 From: Mark Erikson Date: Tue, 14 Dec 2021 22:53:04 -0500 Subject: [PATCH] Update part-7-rtk-query-basics.md --- docs/tutorials/essentials/part-7-rtk-query-basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/essentials/part-7-rtk-query-basics.md b/docs/tutorials/essentials/part-7-rtk-query-basics.md index 79b48d2fd2..a09a83cdda 100644 --- a/docs/tutorials/essentials/part-7-rtk-query-basics.md +++ b/docs/tutorials/essentials/part-7-rtk-query-basics.md @@ -142,7 +142,7 @@ RTK Query's functionality is based on a single method, called `createApi`. All o **Your application is expected to have only one `createApi` call in it**. This one API slice should contain _all_ endpoint definitions that talk to the same base URL. For example, endpoints `/api/posts` and `/api/users` are both fetching data from the same server, so they would go in the same API slice. If your app does fetch data from multiple servers, you can either specify full URLs in each endpoint, or if necessary create separate API slices for each server. -Endpoints are normally defined directly inside the `createApi` call. If you're looking to split up your endpoints between multiple files, see [the "Injecting Endpoints" section in Part 8](https://redux.js.org/tutorials/essentials/part-8-rtk-query-advanced#injecting-endpoints) section of the docs! +Endpoints are normally defined directly inside the `createApi` call. If you're looking to split up your endpoints between multiple files, see [the "Injecting Endpoints" section in Part 8](./part-8-rtk-query-advanced.md#injecting-endpoints) section of the docs! :::