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

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
Dom Harrington committed Sep 8, 2017
1 parent b73cc7b commit 30426fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/api-explorer-ui/src/SecurityInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ function SecurityInput(props) {
}
switch (props.scheme.type) {
case 'oauth2':
return Oauth2(Object.assign({}, props, { change }));
return <Oauth2 {...props} change={change} />;
case 'basic':
return React.createElement(Basic, Object.assign({}, props, { change }));
return <Basic {...props} change={change} />;
default: return <span />;
}
}
Expand Down

0 comments on commit 30426fc

Please sign in to comment.