Skip to content

Commit 7d714ac

Browse files
author
zetlen
committed
fix: revert prop change from wrong branch
1 parent a8ce14d commit 7d714ac

File tree

1 file changed

+2
-2
lines changed
  • packages/venia-concept/src/RootComponents/Category

1 file changed

+2
-2
lines changed

packages/venia-concept/src/RootComponents/Category/category.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { Component } from 'react';
2-
import { oneOfType, string, number, shape } from 'prop-types';
2+
import { string, number, shape } from 'prop-types';
33
import { Query } from 'react-apollo';
44
import gql from 'graphql-tag';
55
import classify from 'src/classify';
@@ -37,7 +37,7 @@ const categoryQuery = gql`
3737

3838
class Category extends Component {
3939
static propTypes = {
40-
id: oneOfType([number, string]),
40+
id: number,
4141
classes: shape({
4242
gallery: string,
4343
root: string,

0 commit comments

Comments
 (0)