Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliorizzo committed Nov 15, 2019
1 parent ea2c083 commit d2768f0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/DataField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<script>
import common from '../mixins/common'
import dataMixin from '../mixins/dataMixin'
import { getType} from '../lib/js/utils'
import { getType } from '../lib/js/utils'
import ProgressBar from './ProgressBar'
export default {
name: 'data-field',
Expand Down
1 change: 0 additions & 1 deletion src/components/EventCall.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export default {
li
color gray
ul,li
margin 0 0.25em 0 0
display flex
Expand Down
3 changes: 1 addition & 2 deletions src/config/entities/lib/eventsLib.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ export const getEventConfigBySignature = signature => {
export const getEventAbiFields = event => {
let inputs = getEventInputs(event)
return inputs.reduce((v, a, i) => {
let name = a.name
let type = a.type
let { type, name } = a
let trim = (type === 'address') ? 'auto' : 0
let field = ['_arguments', name]
v[name] = { type, field, trim }
Expand Down

0 comments on commit d2768f0

Please sign in to comment.