diff --git a/devtools/client/memory/models.js b/devtools/client/memory/models.js index 4dca6f5e9b03..b20fc2534ae6 100644 --- a/devtools/client/memory/models.js +++ b/devtools/client/memory/models.js @@ -382,7 +382,7 @@ let previousViewModel = exports.previousView = PropTypes.shape({ selected: snapshotId, }); -let viewModel = exports.view = PropTypes.shape({ +exports.view = PropTypes.shape({ // The current view state. state: catchAndIgnore(function (view) { switch (view.state) { @@ -486,8 +486,6 @@ exports.app = { // The current type of view. view: function (app) { - viewModel.isRequired(app, "view"); - catchAndIgnore(function (app) { switch (app.view.state) { case viewState.DIFFING: