ql
1import { configureStore } from '@reduxjs/toolkit';
2import searchReducer from '../store/features/searchSlice.ts';
3
4const store = configureStore({
5reducer: {
6search: searchReducer
7}
8});
9
10export type RootState = ReturnType<typeof store.getState>;
11export type AppDispatch = typeof store.dispatch;
12
13export default store;
14