Skip to content

Commit

Permalink
fix: ci check
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham2811 committed Oct 15, 2024
1 parent 630bacc commit 596db2d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 0 additions & 4 deletions samples/poc-subapp-redux/src/02.main-body/main-body.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import logger from "redux-logger";
const mapStateToProps = (state) => state;

const HomeComp = (props) => {
console.log("HomeComp props", props);
const unmountSubapp = ({ subappName }) => {
const subapp = xarcV1.getSubApp(subappName);
const { subappRoot } = subapp.info;
Expand Down Expand Up @@ -68,9 +67,6 @@ export default reduxLoadSubApp({
useReactRouter: true,
middleware: () => [logger],
reduxShareStore: true,
// reduxEnhancer: () => {
// console.log("enhancers calls");
// },
reduxReducers: reducers,
StartComponent: (props) => {
return (
Expand Down
1 change: 0 additions & 1 deletion samples/poc-subapp-redux/src/04.footer/subapp-footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const setEmail = (value) => {
const reducers = { email };

const Footer = (props) => {
console.log("Footer props", props);
const onSubmit = () => {
const email = document.getElementById("email").value;
props.dispatch(setEmail(email));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export const numberReducer = createReducer(initialState, (builder) => {
builder
// eslint-disable-next-line consistent-return
.addCase(incNumber, (state, action) => {
state.number = state.number + 1;
state.number += 1;
})
.addCase(decNumber, (state, action) => {
state.number = state.number - 1;
state.number -= 1;
});
});

0 comments on commit 596db2d

Please sign in to comment.