mirror of
https://git.unlock-music.dev/um/um-react.git
synced 2024-11-24 05:32:17 +00:00
12 lines
319 B
TypeScript
12 lines
319 B
TypeScript
|
import { configureStore } from '@reduxjs/toolkit';
|
||
|
import fileListing from './features/file-listing/fileListingSlice';
|
||
|
|
||
|
export const store = configureStore({
|
||
|
reducer: {
|
||
|
fileListing: fileListing,
|
||
|
},
|
||
|
});
|
||
|
|
||
|
export type RootState = ReturnType<typeof store.getState>;
|
||
|
export type AppDispatch = typeof store.dispatch;
|