Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
Clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
lingyun1010 committed Jan 3, 2019
1 parent defe560 commit 254c06c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion __test__/CalloutAlert.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import Enzyme from 'enzyme'
import renderer from 'react-test-renderer'
import { shallow } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import fetchMock from 'fetch-mock'

import CalloutAlert from '../src/CalloutAlert'

Expand Down
1 change: 0 additions & 1 deletion __test__/FilterSidebar.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ describe(`FilterSidebar`, () => {
onChange: () => {}
}

console.log(uniqueFacets)
const noTooltipProps = {
facets:[
{
Expand Down
12 changes: 6 additions & 6 deletions src/facetgroups/FacetGroupPropTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import PropTypes from 'prop-types'
import {FacetPropTypes} from '../ResultPropTypes'

const FacetGroupPropTypes = {
facetGroupName: PropTypes.string.isRequired,
facetGroupNameDescription: PropTypes.string,
facets: PropTypes.arrayOf(PropTypes.shape({
...FacetPropTypes,
disabled: PropTypes.bool.isRequired})).isRequired,
onChange: PropTypes.func.isRequired
facetGroupName: PropTypes.string.isRequired,
facetGroupNameDescription: PropTypes.string,
facets: PropTypes.arrayOf(PropTypes.shape({
...FacetPropTypes,
disabled: PropTypes.bool.isRequired})).isRequired,
onChange: PropTypes.func.isRequired
}

export default FacetGroupPropTypes

0 comments on commit 254c06c

Please sign in to comment.