Skip to content

Commit

Permalink
RemoveRemove PropType to avoid unexpected warning in SelectionFigure
Browse files Browse the repository at this point in the history
Also change a test to avoid a React warning
  • Loading branch information
nhunzaker committed Nov 14, 2016
1 parent f2e5477 commit 6781bc8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 2.1.1

- Remove PropType to avoid unexpected warning in <SelectionFigure />

## 2.1.0

- Upgrade react-focus-trap dependency
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/index-test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('ArsArsenal', function() {
})

it ('exposes a render method', function() {
let component = ArsArsenal.render(document.body, {
let component = ArsArsenal.render(document.createElement('div'), {
url: '/base/test/test.json'
})

Expand Down
4 changes: 0 additions & 4 deletions src/components/selection-figure.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ let React = require("react")

let SelectionFigure = React.createClass({

propTypes: {
item: React.PropTypes.object.isRequired
},

getDefaultProps() {
return {
caption : '',
Expand Down

0 comments on commit 6781bc8

Please sign in to comment.