Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentWillUnmount() {
UIEvents.removeListener(SHEET_EVENTS.OPEN, this.hide);
UIEvents.removeListener(SHEET_EVENTS.CLOSE, this.show);
}
componentWillUnmount() {
UIEvents.removeListener(constants.SHOW_ADD_TO_CART_BAR, this.handleShow);
UIEvents.removeListener(constants.HIDE_ADD_TO_CART_BAR, this.handleHide);
UIEvents.removeListener(constants.INCREMENT_ACTION_COUNT, this.handleIncrement);
UIEvents.removeListener(constants.DECREMENT_ACTION_COUNT, this.handleDecrement);
UIEvents.removeListener(constants.RESET_ACTION_COUNT, this.handleReset);
}
componentWillUnmount() {
UIEvents.removeListener(SHEET_EVENTS.OPEN, this.hide);
UIEvents.removeListener(SHEET_EVENTS.CLOSE, this.show);
}
componentWillUnmount() {
UIEvents.removeListener(constants.SHOW_ADD_TO_CART_BAR, this.handleShow);
UIEvents.removeListener(constants.HIDE_ADD_TO_CART_BAR, this.handleHide);
UIEvents.removeListener(constants.INCREMENT_ACTION_COUNT, this.handleIncrement);
UIEvents.removeListener(constants.DECREMENT_ACTION_COUNT, this.handleDecrement);
UIEvents.removeListener(constants.RESET_ACTION_COUNT, this.handleReset);
}
componentWillUnmount() {
UIEvents.removeListener(constants.SHOW_ADD_TO_CART_BAR, this.handleShow);
UIEvents.removeListener(constants.HIDE_ADD_TO_CART_BAR, this.handleHide);
UIEvents.removeListener(constants.INCREMENT_ACTION_COUNT, this.handleIncrement);
UIEvents.removeListener(constants.DECREMENT_ACTION_COUNT, this.handleDecrement);
UIEvents.removeListener(constants.RESET_ACTION_COUNT, this.handleReset);
}
componentWillUnmount() {
UIEvents.removeListener(constants.SHOW_ADD_TO_CART_BAR, this.handleShow);
UIEvents.removeListener(constants.HIDE_ADD_TO_CART_BAR, this.handleHide);
UIEvents.removeListener(constants.INCREMENT_ACTION_COUNT, this.handleIncrement);
UIEvents.removeListener(constants.DECREMENT_ACTION_COUNT, this.handleDecrement);
UIEvents.removeListener(constants.RESET_ACTION_COUNT, this.handleReset);
}
componentWillUnmount() {
UIEvents.removeListener(constants.SHOW_ADD_TO_CART_BAR, this.handleShow);
UIEvents.removeListener(constants.HIDE_ADD_TO_CART_BAR, this.handleHide);
UIEvents.removeListener(constants.INCREMENT_ACTION_COUNT, this.handleIncrement);
UIEvents.removeListener(constants.DECREMENT_ACTION_COUNT, this.handleDecrement);
UIEvents.removeListener(constants.RESET_ACTION_COUNT, this.handleReset);
}