Skip to content

Commit

Permalink
fix: remove useless noop methods (#1325)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson authored Jul 9, 2019
1 parent 68343a7 commit ade28cc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,8 @@
</style>
<script>
import SvgIcon from '../../SvgIcon.html'
import noop from 'lodash-es/noop'

export default {
methods: {
noop
},
components: {
SvgIcon
}
Expand Down
2 changes: 0 additions & 2 deletions src/routes/_components/status/Notification.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
import { goto } from '../../../../__sapper__/client'
import { composeNewStatusMentioning } from '../../_actions/mention'
import { classname } from '../../_utils/classname'
import noop from 'lodash-es/noop'
import { createStatusOrNotificationUuid } from '../../_utils/createStatusOrNotificationUuid'

export default {
Expand Down Expand Up @@ -77,7 +76,6 @@
))
},
methods: {
noop,
openAuthorProfile () {
let { accountId } = this.get()
goto(`/accounts/${accountId}`)
Expand Down
2 changes: 0 additions & 2 deletions src/routes/_components/status/Status.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@
import { LONG_POST_LENGTH, LONG_POST_TEXT } from '../../_static/statuses'
import { absoluteDateFormatter } from '../../_utils/formatters'
import { composeNewStatusMentioning } from '../../_actions/mention'
import noop from 'lodash-es/noop'
import { createStatusOrNotificationUuid } from '../../_utils/createStatusOrNotificationUuid'
import { statusHtmlToPlainText } from '../../_utils/statusHtmlToPlainText'

Expand Down Expand Up @@ -184,7 +183,6 @@
}),
store: () => store,
methods: {
noop,
onClickOrKeydown (e) {
let { type, keyCode, target } = e

Expand Down

0 comments on commit ade28cc

Please sign in to comment.