/* loads store connnected container with wrapped App component
function getThemeApp() {
  let mapStateToProps = (state) => {
    return {
      pages: state.pages,
      zlSite: state.zlSite,
      themeData: state.themeData,
      loadedComponents,
      getComponent,
      page: state.pages[state.currentPage]
    };
  }
  // component name
  let component = 'App';

  let WrappedComponent = getComponent(component);

  const enhance = compose(
    connect(mapStateToProps),
    appSubscription
  )
  return enhance(WrappedComponent);
}