Skip to content

Commit a8fe473

Browse files
committed
Damn you linter
1 parent bd26eaf commit a8fe473

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/Select.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ Select.propTypes = {
5959
Select.isFormElement = true;
6060

6161
export const Option = (props) => {
62-
const { label, children, ...pprops } = this.props;
62+
const { label, children, ...pprops } = props;
6363
return (<option { ...pprops }>{ label || children }</option>);
64-
}
64+
};
6565

6666
Option.propTypes = {
6767
children: PropTypes.node,

0 commit comments

Comments
 (0)