Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
selectPanel(panel, event) {
if (event) {
event.preventDefault();
}
const {props} = this;
props.dispatch(VisiblePanelActions.selectPanel(panel));
}
selectPanel(panel, event) {
if (event) {
event.preventDefault();
}
const {props} = this;
props.dispatch(VisiblePanelActions.selectPanel(panel));
}
selectPanel(panel, event) {
if (event) {
event.preventDefault();
}
const {props} = this;
props.dispatch(VisiblePanelActions.selectPanel(panel));
}
selectPanel(panel, event) {
if (event) {
event.preventDefault();
}
const {props} = this;
props.dispatch(VisiblePanelActions.selectPanel(panel));
}