Add support for flash messages utilizing redux
This commit is contained in:
parent
b93b40ba31
commit
435626f4b7
15 changed files with 268 additions and 34 deletions
7
resources/scripts/redux/reducers.ts
Normal file
7
resources/scripts/redux/reducers.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import { combineReducers } from 'redux';
|
||||
import flashReducer from './reducers/flash';
|
||||
import { ReduxState } from '@/redux/types';
|
||||
|
||||
export const reducers = combineReducers<ReduxState>({
|
||||
flashes: flashReducer,
|
||||
});
|
Reference in a new issue