1234567891011 |
- import { createReducer } from '@reduxjs/toolkit';
- import { actionIsOpen } from '../action';
- import { IPayload } from '../../../typescript/redux/controlApp/interfaces'
- const reducerControlApp = createReducer('', {
- [actionIsOpen.type]: (_, { payload }:IPayload) => {
- return payload
- },
- });
- export default reducerControlApp;
|