mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Mark onClick prop as not required for DraggableSeed (#7583)
This commit is contained in:
parent
9a1c7e3864
commit
629e5501a1
@ -13,7 +13,7 @@ class DraggableSeed extends Component {
|
||||
isOver: PropTypes.bool,
|
||||
canDrop: PropTypes.bool,
|
||||
// Own Props
|
||||
onClick: PropTypes.func.isRequired,
|
||||
onClick: PropTypes.func,
|
||||
setHoveringIndex: PropTypes.func.isRequired,
|
||||
index: PropTypes.number,
|
||||
draggingSeedIndex: PropTypes.number,
|
||||
@ -25,6 +25,7 @@ class DraggableSeed extends Component {
|
||||
|
||||
static defaultProps = {
|
||||
className: '',
|
||||
onClick: undefined,
|
||||
}
|
||||
|
||||
componentWillReceiveProps (nextProps) {
|
||||
|
Loading…
Reference in New Issue
Block a user