Skip to content

Commit

Permalink
Fix Lint Error
Browse files Browse the repository at this point in the history
  • Loading branch information
julixC committed Feb 25, 2025
1 parent a9a9606 commit 4c2f724
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react/components/FacetItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import classNames from 'classnames'
import { useSearchPage } from 'vtex.search-page-context/SearchPageContext'
import { usePixel } from 'vtex.pixel-manager'
import { useIntl } from 'react-intl'

Check failure on line 7 in react/components/FacetItem.js

View workflow job for this annotation

GitHub Actions / Lint

There should be no empty line within import group

import { useRuntime } from 'vtex.render-runtime'

Check failure on line 9 in react/components/FacetItem.js

View workflow job for this annotation

GitHub Actions / Lint

There should be at least one empty line between import groups
import { pushFilterManipulationPixelEvent } from '../utils/filterManipulationPixelEvents'
import SettingsContext from './SettingsContext'
Expand Down Expand Up @@ -131,8 +132,7 @@ const FacetItem = ({
let initialquery

if (searchQuery?.variables?.fullText === undefined) {
initialquery =
runtimeQuery?.initialQuery ?? searchQuery?.facets?.queryArgs.query
initialquery = runtimeQuery?.initialQuery ?? searchQuery?.facets?.queryArgs.query

Check failure on line 135 in react/components/FacetItem.js

View workflow job for this annotation

GitHub Actions / Lint

Insert `⏎·····`
initialmap =

Check failure on line 136 in react/components/FacetItem.js

View workflow job for this annotation

GitHub Actions / Lint

Delete `⏎·····`
runtimeQuery?.initialMap ?? searchQuery?.facets?.queryArgs?.map
}
Expand Down

0 comments on commit 4c2f724

Please sign in to comment.