Skip to content

Commit c044451

Browse files
committed
Fix lint suggestions
1 parent 445143d commit c044451

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

react/hooks/useSession.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const useSession = () => {
2727
}
2828

2929
return JSON.parse(data.namespaces.public.shippingOption.value)
30-
}, [])
30+
}, [rootPath])
3131

3232
return { getSession }
3333
}

react/utils/compatibilityLayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const buildSelectedFacetsAndFullText = (query, map, priceRange) => {
5454
}
5555

5656
const addMap = facet => {
57-
facet['map'] = facet.key
57+
facet.map = facet.key
5858

5959
if (facet.children) {
6060
facet.children.forEach(facetChild => addMap(facetChild))

0 commit comments

Comments
 (0)