Skip to content

Commit 1f785bc

Browse files
authored
[core] Simplify refType
1 parent b93c199 commit 1f785bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import PropTypes from 'prop-types';
22

3-
const refType = PropTypes.oneOfType([PropTypes.func, PropTypes.PropTypes.object]);
3+
const refType = PropTypes.oneOfType([PropTypes.func, PropTypes.object]);
44

55
export default refType;

0 commit comments

Comments
 (0)