feat: 新版webui
This commit is contained in:
1 parent
1d0d25eea2
commit
ee1291e42c
201 files changed
+18454
-3422
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import { configureStore } from '@reduxjs/toolkit'
|
||||
|
||||
import configSlice from './modules/config'
|
||||
|
||||
const store = configureStore({
|
||||
reducer: {
|
||||
config: configSlice
|
||||
}
|
||||
})
|
||||
|
||||
export default store
|
||||
|
||||
// Infer the `RootState` and `AppDispatch` types from the store itself
|
||||
export type RootState = ReturnType<typeof store.getState>
|
||||
// Inferred type: {posts: PostsState, comments: CommentsState, users: UsersState}
|
||||
export type AppDispatch = typeof store.dispatch
|
||||
Reference in new issue
Block a user