Skip to content

Commit

Permalink
Fix lint suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
salesfelipe committed Nov 7, 2024
1 parent 445143d commit c044451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion react/hooks/useSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const useSession = () => {
}

return JSON.parse(data.namespaces.public.shippingOption.value)
}, [])
}, [rootPath])

return { getSession }
}
Expand Down
2 changes: 1 addition & 1 deletion react/utils/compatibilityLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const buildSelectedFacetsAndFullText = (query, map, priceRange) => {
}

const addMap = facet => {
facet['map'] = facet.key
facet.map = facet.key

if (facet.children) {
facet.children.forEach(facetChild => addMap(facetChild))
Expand Down

0 comments on commit c044451

Please sign in to comment.