Skip to content

Commit

Permalink
style(form-builder): disable eslint rules and move todo comment
Browse files Browse the repository at this point in the history
* Disabled eslint rules that do not apply to `*.ts` files
  • Loading branch information
mariuslundgard authored and bjoerge committed Mar 4, 2021
1 parent 55665eb commit f8a3913
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable no-undef, import/no-unresolved */

import React from 'react'
import PropTypes from 'prop-types'
import {Observable, Subscription} from 'rxjs'
Expand Down Expand Up @@ -119,7 +121,8 @@ export default class FileInput extends React.PureComponent<Props, FileInputState
}

clearUploadStatus() {
this.props.onChange(PatchEvent.from([unset(['_upload'])])) // todo: this is kind of hackish
// todo: this is kind of hackish
this.props.onChange(PatchEvent.from([unset(['_upload'])]))
}

cancelUpload() {
Expand Down

0 comments on commit f8a3913

Please sign in to comment.