@digitransit-component/digitransit-component-autosuggest 11.0.15 → 11.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.cjs.map +1 -1
- package/lib/index.development.cjs +2 -3
- package/lib/index.js +1 -2
- package/lib/index.js.map +1 -1
- package/package.json +10 -10
package/lib/index.js
CHANGED
|
@@ -12853,7 +12853,6 @@ function getSearchResults(targets, sources, transportMode, searchContext, filter
|
|
|
12853
12853
|
searchComponents.push(selectFromOwnLocations(input));
|
|
12854
12854
|
}
|
|
12855
12855
|
if (allTargets || targets.includes('Locations')) {
|
|
12856
|
-
// eslint-disable-next-line prefer-destructuring
|
|
12857
12856
|
const searchParams = geocodingSearchParams;
|
|
12858
12857
|
if (sources.includes('Favourite')) {
|
|
12859
12858
|
const favouriteLocations = getFavouriteLocations(context);
|
|
@@ -15165,7 +15164,7 @@ process.env.NODE_ENV !== "production" ? DTAutosuggest.propTypes = {
|
|
|
15165
15164
|
filterResults: PropTypes.func,
|
|
15166
15165
|
searchContext: PropTypes.shape({
|
|
15167
15166
|
URL_PELIAS: PropTypes.string,
|
|
15168
|
-
// eslint-disable-next-line
|
|
15167
|
+
// eslint-disable-next-line react/forbid-prop-types
|
|
15169
15168
|
context: PropTypes.object,
|
|
15170
15169
|
clearOldSearches: PropTypes.func,
|
|
15171
15170
|
clearFutureRoutes: PropTypes.func,
|