diff --git a/client/modules/IDE/components/SketchList.jsx b/client/modules/IDE/components/SketchList.jsx
index 3777de2a..7633e6e8 100644
--- a/client/modules/IDE/components/SketchList.jsx
+++ b/client/modules/IDE/components/SketchList.jsx
@@ -333,8 +333,9 @@ class SketchList extends React.Component {
};
}
- componentWillReceiveProps(nextProps) {
- if (this.props.sketches !== nextProps.sketches && Array.isArray(nextProps.sketches)) {
+ componentDidUpdate(prevProps) {
+ if (this.props.sketches !== prevProps.sketches && Array.isArray(this.props.sketches)) {
+ // eslint-disable-next-line react/no-did-update-set-state
this.setState({
isInitialDataLoad: false,
});
diff --git a/client/modules/User/pages/DashboardView.jsx b/client/modules/User/pages/DashboardView.jsx
index e51490de..2b1373cf 100644
--- a/client/modules/User/pages/DashboardView.jsx
+++ b/client/modules/User/pages/DashboardView.jsx
@@ -98,12 +98,12 @@ class DashboardView extends React.Component {
renderContent(tabKey, username) {
switch (tabKey) {
case TabKey.assets:
- return ;
+ return ;
case TabKey.collections:
- return ;
+ return ;
case TabKey.sketches:
default:
- return ;
+ return ;
}
}