From b7f6b428993172091bf3eff73664d662521b9c41 Mon Sep 17 00:00:00 2001 From: Matt <12268867+mjgwood@users.noreply.github.com> Date: Mon, 22 Mar 2021 23:21:46 +0800 Subject: [PATCH] Docs: correct import statement for setupListeners (#174) --- docs/introduction/getting-started.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/introduction/getting-started.md b/docs/introduction/getting-started.md index e31e6f4061..ef78a3ad2c 100644 --- a/docs/introduction/getting-started.md +++ b/docs/introduction/getting-started.md @@ -69,7 +69,8 @@ With RTK Query, you usually define your entire API definition in one place. This An RTK service generates a "slice reducer" that should be included in the Redux root reducer, and a custom middleware that handles the data fetching. Both need to be added to the Redux store. ```ts title="src/store.ts" -import { configureStore, setupListeners } from '@reduxjs/toolkit'; +import { configureStore } from '@reduxjs/toolkit'; +import { setupListeners } from '@rtk-incubator/rtk-query'; import { pokemonApi } from './services/pokemon'; export const store = configureStore({