Skip to content

Instantly share code, notes, and snippets.

@alic-xc
Created December 6, 2022 18:34
Show Gist options
  • Save alic-xc/74b097063a4e8378eadab0e92612b907 to your computer and use it in GitHub Desktop.
Save alic-xc/74b097063a4e8378eadab0e92612b907 to your computer and use it in GitHub Desktop.
import { configureStore } from "@reduxjs/toolkit";
import { weatherAPI } from "../services/weatherAPI";
export default configureStore({
reducer: {
[weatherAPI.reducerPath]: weatherAPI.reducer,
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment