File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ class ReactJsonView extends React.PureComponent {
25
25
src : ReactJsonView . defaultProps . src ,
26
26
name : ReactJsonView . defaultProps . name ,
27
27
theme : ReactJsonView . defaultProps . theme ,
28
+ validationMessage : ReactJsonView . defaultProps . validationMessage ,
28
29
// the state object also needs to remember the prev prop values, because we need to compare
29
30
// old and new props in getDerivedStateFromProps().
30
31
prevSrc : ReactJsonView . defaultProps . src ,
@@ -70,6 +71,7 @@ class ReactJsonView extends React.PureComponent {
70
71
src : nextProps . src ,
71
72
name : nextProps . name ,
72
73
theme : nextProps . theme ,
74
+ validationMessage : nextProps . validationMessage ,
73
75
prevSrc : nextProps . src ,
74
76
prevName : nextProps . name ,
75
77
prevTheme : nextProps . theme
You can’t perform that action at this time.
0 commit comments