mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-18 01:36:08 +08:00
18 lines
353 B
TypeScript
18 lines
353 B
TypeScript
import { combineReducers } from 'redux';
|
|
import editor from './editor';
|
|
import pretest from './pretest';
|
|
import records from './records';
|
|
import state from './state';
|
|
import ui from './ui';
|
|
|
|
const reducer = combineReducers({
|
|
ui,
|
|
editor,
|
|
pretest,
|
|
records,
|
|
state,
|
|
});
|
|
|
|
export default reducer;
|
|
export type RootState = ReturnType<typeof reducer>;
|