From 15e333614055929ba27496f26468ee9cf0dd544c Mon Sep 17 00:00:00 2001 From: Minh Nguyen Date: Mon, 18 Nov 2019 17:44:09 +0000 Subject: [PATCH] [utils] Simplify refType (#18437) --- packages/material-ui-utils/src/refType.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui-utils/src/refType.js b/packages/material-ui-utils/src/refType.js index cf0dda460e5fe6..8e6317b888ca0c 100644 --- a/packages/material-ui-utils/src/refType.js +++ b/packages/material-ui-utils/src/refType.js @@ -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;