react-isomorphic-tools
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -41,5 +41,6 @@ 'use strict'; | ||
params = _ref2.params, | ||
query = _ref2.location.query, | ||
location = _ref2.location, | ||
router = _ref2.router, | ||
props = (0, _objectWithoutProperties3.default)(_ref2, ['components', 'routes', 'params', 'location', 'router']); | ||
props = (0, _objectWithoutProperties3.default)(_ref2, ['components', 'routes', 'params', 'location', 'location', 'router']); | ||
var i, component; | ||
@@ -54,3 +55,3 @@ return _regenerator2.default.wrap(function _callee$(_context) { | ||
params: params, | ||
location: location | ||
query: query | ||
}); | ||
@@ -101,3 +102,3 @@ }); | ||
params: params, | ||
location: location | ||
query: query | ||
})); | ||
@@ -104,0 +105,0 @@ |
{ | ||
"name": "react-isomorphic-tools", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Authorization, Fetcher, Preload. Tools for ServerSide rendering", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -6,3 +6,3 @@ import lodash from 'lodash' | ||
const loadData = async({getState, dispatch}, {components, routes, params, location, router, ...props}) => { | ||
const loadData = async({getState, dispatch}, {components, routes, params, location:{query}, location, router, ...props}) => { | ||
components = getComponents(components).filter((item)=> { | ||
@@ -12,3 +12,3 @@ return !isLoaded(item.displayName, { | ||
params, | ||
location | ||
query | ||
}) | ||
@@ -35,3 +35,3 @@ }) | ||
params, | ||
location | ||
query | ||
})) | ||
@@ -38,0 +38,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61080
1432