Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Lint and fix issue with length of debounced input
Browse files Browse the repository at this point in the history
  • Loading branch information
domharrington committed Feb 21, 2019
1 parent 8f7b2d2 commit 94a2f30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/api-explorer/dist/index.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion packages/api-explorer/src/SecurityInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ const types = {
apiKey: ApiKey,
};

// eslint-disable-next-line react/prefer-stateless-function
class Input extends React.Component {
render() {
return (
<DebounceInput
{...this.props}
minLength={2}
minLength={0}
debounceTimeout={process.env.NODE_ENV === 'test' ? 0 : 300}
/>
);
Expand Down

0 comments on commit 94a2f30

Please sign in to comment.