Merge branch 'lint' into 'develop'

Lint switch

See merge request soapbox-pub/soapbox-fe!1367
This commit is contained in:
Alex Gleason 2022-05-12 19:40:08 +00:00
commit 7195ff5a2e
1 changed files with 8 additions and 8 deletions

View File

@ -21,14 +21,14 @@ const mapStateToProps = state => {
const mapDispatchToProps = (dispatch) => ({ const mapDispatchToProps = (dispatch) => ({
onClose(type) { onClose(type) {
switch (type) { switch (type) {
case 'COMPOSE': case 'COMPOSE':
dispatch(cancelReplyCompose()); dispatch(cancelReplyCompose());
break; break;
case 'REPORT': case 'REPORT':
dispatch(cancelReport()); dispatch(cancelReport());
break; break;
default: default:
break; break;
} }
dispatch(closeModal(type)); dispatch(closeModal(type));