Skip to content

Commit

Permalink
[utils] Simplify refType (#18437)
Browse files Browse the repository at this point in the history
  • Loading branch information
NMinhNguyen authored and eps1lon committed Nov 18, 2019
1 parent b93c199 commit 15e3336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui-utils/src/refType.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import PropTypes from 'prop-types';

const refType = PropTypes.oneOfType([PropTypes.func, PropTypes.PropTypes.object]);
const refType = PropTypes.oneOfType([PropTypes.func, PropTypes.object]);

export default refType;

0 comments on commit 15e3336

Please sign in to comment.