We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8ce14d commit 7d714acCopy full SHA for 7d714ac
packages/venia-concept/src/RootComponents/Category/category.js
@@ -1,5 +1,5 @@
1
import React, { Component } from 'react';
2
-import { oneOfType, string, number, shape } from 'prop-types';
+import { string, number, shape } from 'prop-types';
3
import { Query } from 'react-apollo';
4
import gql from 'graphql-tag';
5
import classify from 'src/classify';
@@ -37,7 +37,7 @@ const categoryQuery = gql`
37
38
class Category extends Component {
39
static propTypes = {
40
- id: oneOfType([number, string]),
+ id: number,
41
classes: shape({
42
gallery: string,
43
root: string,
0 commit comments