Skip to content

Commit ebd9dfb

Browse files
author
Salem
authored
Required propTypes
propTypes wasn't requiring props, required them by default.
1 parent 347848c commit ebd9dfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ GoogleFontLoader.propTypes = {
5555
font: PropTypes.string,
5656
weights: PropTypes.arrayOf(PropTypes.number),
5757
}),
58-
),
58+
).isRequired,
5959
};
6060

6161
export default GoogleFontLoader;

0 commit comments

Comments
 (0)