mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 09:36:43 +03:00
fix(react-json-tree): remove isRequired from data
prop type (#685)
* remove is required check * revert formatting changes
This commit is contained in:
parent
c980eadec7
commit
d76d6c678d
|
@ -104,7 +104,7 @@ function getStateFromProps(props: Props) {
|
|||
|
||||
export default class JSONTree extends React.Component<Props, State> {
|
||||
static propTypes = {
|
||||
data: PropTypes.any.isRequired,
|
||||
data: PropTypes.any,
|
||||
hideRoot: PropTypes.bool,
|
||||
theme: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
||||
invertTheme: PropTypes.bool,
|
||||
|
|
Loading…
Reference in New Issue
Block a user