Skip to content

Commit a684b61

Browse files
committed
reverting props changes in index
1 parent b978604 commit a684b61

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-json-view",
33
"description": "Interactive react component for displaying javascript arrays and JSON objects.",
4-
"version": "1.11.5",
4+
"version": "1.11.6",
55
"main": "dist/main.js",
66
"files": [
77
"dist/"

src/js/index.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,15 @@ export default class extends React.Component {
7878
}
7979
}
8080

81-
componentDidUpdate() {
82-
ObjectAttributes.set(
83-
this.rjvId,
84-
'global',
85-
'src',
86-
this.props.src
87-
);
88-
}
81+
// PR 96 - removed until major version update occurs
82+
// componentDidUpdate() {
83+
// ObjectAttributes.set(
84+
// this.rjvId,
85+
// 'global',
86+
// 'src',
87+
// this.props.src
88+
// );
89+
// }
8990

9091
init = (props) => {
9192
for (let i in this.defaults) {

0 commit comments

Comments
 (0)