Skip to content

Commit 4d13513

Browse files
committed
Fixed Lint error of not having propType of defaultMatches
1 parent 0d1e195 commit 4d13513

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/Media.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const queryType = PropTypes.oneOfType([
1313
*/
1414
class Media extends React.Component {
1515
static propTypes = {
16+
defaultMatches: PropTypes.bool,
1617
query: queryType,
1718
queries: PropTypes.objectOf(queryType),
1819
render: PropTypes.func,
@@ -69,7 +70,7 @@ class Media extends React.Component {
6970

7071
if (queries) {
7172
queries = Object.keys(queries).map(mq => ({
72-
name: mq,
73+
name: mq,
7374
qs: json2mq(queries[mq]),
7475
}))
7576
this.queries = queries.map(mq => ({

0 commit comments

Comments
 (0)