aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/system/item-object.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/system/item-object.js')
-rw-r--r--server/sonar-web/src/main/js/apps/system/item-object.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/system/item-object.js b/server/sonar-web/src/main/js/apps/system/item-object.js
index c0f0b1919fb..32b81388595 100644
--- a/server/sonar-web/src/main/js/apps/system/item-object.js
+++ b/server/sonar-web/src/main/js/apps/system/item-object.js
@@ -20,7 +20,7 @@
import React from 'react';
import ItemValue from './item-value';
-export default React.createClass({
+export default class ItemObject extends React.PureComponent {
render() {
const rows = Object.keys(this.props.value).map(key => {
return (
@@ -36,4 +36,4 @@ export default React.createClass({
</table>
);
}
-});
+}