Remove loadData since it's always null with the default imports

This commit is contained in:
Kimmo Puputti 2017-02-23 12:37:52 +02:00
parent 43a4d55aa2
commit 8b4fea7c22

View file

@ -29,28 +29,24 @@ const routesConfiguration = [
exact: true,
name: 'SearchPage',
component: props => <SearchPage {...props} />,
loadData: SearchPage ? SearchPage.loadData : null,
routes: [
{
path: '/s/filters',
exact: true,
name: 'SearchFiltersPage',
component: props => <SearchPage {...props} tab="filters" />,
loadData: SearchPage ? SearchPage.loadData : null,
},
{
path: '/s/listings',
exact: true,
name: 'SearchListingsPage',
component: props => <SearchPage {...props} tab="listings" />,
loadData: SearchPage ? SearchPage.loadData : null,
},
{
path: '/s/map',
exact: true,
name: 'SearchMapPage',
component: props => <SearchPage {...props} tab="map" />,
loadData: SearchPage ? SearchPage.loadData : null,
},
],
},