warehouse api integration

This commit is contained in:
[Diksha]
2022-02-02 14:45:41 +05:30
parent a99feeea7e
commit 6f99ba5541
8 changed files with 154 additions and 101 deletions

View File

@@ -1,9 +1,11 @@
import { combineReducers } from 'redux';
import { authReducer } from './AuthRedux';
import { warehouseReducer } from './WarehouseRedux';
// Combine all reducers.
const appReducer = combineReducers({
auth: authReducer
auth: authReducer,
warehouse: warehouseReducer
});
const rootReducer = (state, action) => {