Skip to content

Commit

Permalink
[CLEANUP] - dry up example preload chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelBenin committed Dec 21, 2017
1 parent 21653f6 commit bc6ed18
Showing 1 changed file with 1 addition and 7 deletions.
Expand Up @@ -31,13 +31,7 @@ const routeConfig = {

const LazyComponent = Loadable({
loader() {
return import(/* webpackChunkName: "search" */ './search_results_page').then(
resp => {
Component = resp.default;
routeConfig.loadData = Component.loadData;
return Component;
}
);
return routeConfig.preloadChunk();
},
loading() {
return (
Expand Down

0 comments on commit bc6ed18

Please sign in to comment.