import { configureStore } from "@reduxjs/toolkit";
import approvalReducer from "./approvalSlice";
import globalReducer from "./globalSlice";
import inflightReducer from "./inflightSlice";
import multiTokenAmountReducer from "./multiTokenModalSlice";
import quoteParamsReducer from "./quoteParamSlice";
import routesReducer from "./routesSlice";
import settingsReducer from "./settingsSlice";
import tokenSelectorReducer from "./tokenSelectorSlice";

const store = configureStore({
	reducer: {
		quoteParams: quoteParamsReducer,
		global: globalReducer,
		tokenSelector: tokenSelectorReducer,
		settings: settingsReducer,
		approval: approvalReducer,
		multiTokenAmount: multiTokenAmountReducer,
		inflight: inflightReducer,
		routes: routesReducer,
	},
});

export default store;
