message: fix detarget page
diff: // Licensed under the MIT License.
  import { loadTheme } from 'office-ui-fabric-react';
  import * as ReactDOM from 'react-dom';
  +
  import { AssessmentDefaultMessageGenerator } from '../assessments/assessment-default-message-generator';
  import { Assessments } from '../assessments/assessments';
  import { assessmentsProviderWithFeaturesEnabled } from '../assessments/assessments-feature-flag-filter';
  @@ -97,11 +98,6 @@ if (isNaN(tabId) === false) {
  chromeAdapter.getTab(
  tabId,
  (tab: Tab): void => {
  - if (chromeAdapter.getRuntimeLastError()) {
  - const renderer = createNullifiedRenderer(document, ReactDOM.render);
  - renderer.render();
  - }
  - {
  const telemetryFactory = new TelemetryDataFactory();
  const visualizationStore = new StoreProxy<VisualizationStoreData>(StoreNames[StoreNames.VisualizationStore], chromeAdapter);
  @@ -112,10 +108,7 @@ if (isNaN(tabId) === false) {
  );
  const detailsViewStore = new StoreProxy<DetailsViewData>(StoreNames[StoreNames.DetailsViewStore], chromeAdapter);
  const assessmentStore = new StoreProxy<AssessmentStoreData>(StoreNames[StoreNames.AssessmentStore], chromeAdapter);
  - const featureFlagStore = new StoreProxy<DictionaryStringTo<boolean>>(
  - StoreNames[StoreNames.FeatureFlagStore],
  - chromeAdapter,
  - );
  + const featureFlagStore = new StoreProxy<DictionaryStringTo<boolean>>(StoreNames[StoreNames.FeatureFlagStore], chromeAdapter);
  const scopingStore = new StoreProxy<ScopingStoreData>(StoreNames[StoreNames.ScopingPanelStateStore], chromeAdapter);
  const inspectStore = new StoreProxy<InspectStoreData>(StoreNames[StoreNames.InspectStore], chromeAdapter);
  const userConfigStore = new StoreProxy<UserConfigurationStoreData>(
  @@ -135,11 +128,7 @@ if (isNaN(tabId) === false) {
  const actionMessageDispatcher = new ActionMessageDispatcher(chromeAdapter.sendMessageToFrames, tab.id);
  - const actionMessageCreator = new DetailsViewActionMessageCreator(
  - chromeAdapter.sendMessageToFrames,
  - tab.id,
  - telemetryFactory,
  - );
  + const actionMessageCreator = new DetailsViewActionMessageCreator(chromeAdapter.sendMessageToFrames, tab.id, telemetryFactory);
  const scopingActionMessageCreator = new ScopingActionMessageCreator(
  chromeAdapter.sendMessageToFrames,
  tab.id,
  @@ -308,10 +297,10 @@ if (isNaN(tabId) === false) {
  const a11ySelfValidator = new A11YSelfValidator(new ScannerUtils(scan), new HTMLElementUtils());
  window.A11YSelfValidator = a11ySelfValidator;
  - }
  },
  () => {
  - throw new Error(`Cannot find target tab with Id ${tabId}`);
  + const renderer = createNullifiedRenderer(document, ReactDOM.render);
  + renderer.render();
  },
  );
  }
  