text: import { connect } from "react-redux";
  import { createSelector, createStructuredSelector } from "reselect";
  
  import { selectScenarioFilterFunc } from "../../filters/selectors";
  import ScenarioTable from "../../ui/components/ScenarioTable";
  
  const selectScenarios = createSelector(
    state => state.feature.scenarios,
    selectScenarioFilterFunc,
    (scenarios, scenarioFilterFunc) => {
      return scenarios.filter(scenarioFilterFunc);
    }
  );
  
  const selectProps = createStructuredSelector({
    scenarios: selectScenarios
  });
  
  export default connect(selectProps)(ScenarioTable);
  