Browse Source

Fix eslint error (#16212)

closed-social-v3
abcang 3 years ago
committed by GitHub
parent
commit
be6f4e013a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      app/javascript/mastodon/actions/boosts.js
  2. +0
    -1
      app/javascript/mastodon/features/notifications/containers/notification_container.js

+ 1
- 1
app/javascript/mastodon/actions/boosts.js View File

@ -11,7 +11,7 @@ export function initBoostModal(props) {
dispatch({ dispatch({
type: BOOSTS_INIT_MODAL, type: BOOSTS_INIT_MODAL,
privacy
privacy,
}); });
dispatch(openModal('BOOST', props)); dispatch(openModal('BOOST', props));

+ 0
- 1
app/javascript/mastodon/features/notifications/containers/notification_container.js View File

@ -2,7 +2,6 @@ import { connect } from 'react-redux';
import { makeGetNotification, makeGetStatus } from '../../../selectors'; import { makeGetNotification, makeGetStatus } from '../../../selectors';
import Notification from '../components/notification'; import Notification from '../components/notification';
import { initBoostModal } from '../../../actions/boosts'; import { initBoostModal } from '../../../actions/boosts';
import { openModal } from '../../../actions/modal';
import { mentionCompose } from '../../../actions/compose'; import { mentionCompose } from '../../../actions/compose';
import { import {
reblog, reblog,

Loading…
Cancel
Save