Skip to content

Commit 3edd641

Browse files
authored
Removes React.PropTypes in favor of PropTypes
Removes React.PropTypes in favor of PropTypes which was already being imported, but not being used.
1 parent b0ccaf9 commit 3edd641

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/google.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ export default class Google extends React.Component {
1818
};
1919

2020
Google.propTypes = {
21-
style: React.PropTypes.object, // eslint-disable-line
22-
client: React.PropTypes.string.isRequired,
23-
slot: React.PropTypes.string.isRequired,
24-
format: React.PropTypes.string,
21+
style: PropTypes.object, // eslint-disable-line
22+
client: PropTypes.string.isRequired,
23+
slot: PropTypes.string.isRequired,
24+
format: PropTypes.string,
2525
};
2626

2727
Google.defaultProps = {
2828
style: {display: 'block'},
2929
format: 'auto',
30-
};
30+
};

0 commit comments

Comments
 (0)