Skip to content

Commit

Permalink
RunQueryActionButton: removing isRequired from queryState props
Browse files Browse the repository at this point in the history
This removes a warning during yarn tests:
```
Warning: Failed prop type: The prop `queryState` is marked as required in
`RunQueryActionButton`, but its value is `null`.
```
  • Loading branch information
dennybiasiolli committed Oct 11, 2017
1 parent 7136277 commit 52c60c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { t } from '../../locales';
const propTypes = {
allowAsync: PropTypes.bool.isRequired,
dbId: PropTypes.number,
queryState: PropTypes.string.isRequired,
queryState: PropTypes.string,
runQuery: PropTypes.func.isRequired,
selectedText: PropTypes.string,
stopQuery: PropTypes.func.isRequired,
Expand Down

0 comments on commit 52c60c2

Please sign in to comment.