Skip to content

Commit 678710d

Browse files
authored
fix: console warning during npm run t (#204)
1 parent 988ce80 commit 678710d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/Icon/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ Icon.propTypes = {
258258
PropTypes.arrayOf(PropTypes.string),
259259
]),
260260
/** Type: Use strings from below list */
261-
type: PropTypes.oneOf([
261+
type: PropTypes.oneOfType([
262262
PropTypes.oneOf(Object.keys(Type)),
263263
PropTypes.string,
264264
]).isRequired,

0 commit comments

Comments
 (0)