Skip to content

Commit

Permalink
es-lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Oct 2, 2023
1 parent 5dc66cf commit 83761c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _dev/js/theme/core/cart/handler/cart/cartErrorsHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ const cartErrorsHandler = () => {

checkoutBtn.classList.remove('disabled');
}
}
};

export default cartErrorsHandler;
11 changes: 5 additions & 6 deletions _dev/js/theme/core/cart/store/cartStateStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const state = {
* @returns {object}
*/
const cartStateStore = () => {

/**
* Sets the error message
* @method setErrorMsg
Expand All @@ -19,7 +18,7 @@ const cartStateStore = () => {
*/
const setErrorMsg = (value) => {
state.errorMsg = value;
}
};

/**
* Returns the error message
Expand All @@ -37,7 +36,7 @@ const cartStateStore = () => {
*/
const setIsUpdateOperation = (value) => {
state.isUpdateOperation = value;
}
};

/**
* Returns the isUpdateOperation value
Expand All @@ -55,7 +54,7 @@ const cartStateStore = () => {
*/
const setHasError = (value) => {
state.hasError = value;
}
};

/**
* Returns the hasError value
Expand All @@ -72,7 +71,7 @@ const cartStateStore = () => {
getIsUpdateOperation,
setHasError,
getHasError,
}
}
};
};

export default cartStateStore;
1 change: 0 additions & 1 deletion _dev/js/theme/core/product/productController.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ const persistFormDataOnInit = () => {
* @return {{init: init}}
*/
const productController = () => {

/**
* Init product controller
* @method init
Expand Down

0 comments on commit 83761c7

Please sign in to comment.