Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
});
var storesConnected = connectToStores(Application, [ApplicationStore],
function (stores, props) {
var appStore = stores.ApplicationStore;
return {
currentPageName: appStore.getCurrentPageName(),
pageTitle: appStore.getPageTitle(),
pages: appStore.getPages()
};
}
);
var contextProvided = provideContext(storesConnected, {
validate: React.PropTypes.func.isRequired
});
export default handleHistory(contextProvided);