Skip to content

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dhirama authored Aug 23, 2024
1 parent d7e3bc2 commit de152dd
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions react/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,11 @@ const StoreList: FunctionComponent<WrappedComponentProps & Props> = ({
const { latitude, longitude } = firstResult.address.location

const ofGeoCoordinates = ofData?.orderForm?.shippingData?.address?.geoCoordinates

Check failure on line 126 in react/List.tsx

View workflow job for this annotation

GitHub Actions / QE / Lint Node.js

Insert `⏎·····`
const center = (ofGeoCoordinates && ofGeoCoordinates.length > 0)
? ofGeoCoordinates
: [
longitude || long,
latitude || lat,
]

const center =

Check failure on line 128 in react/List.tsx

View workflow job for this annotation

GitHub Actions / QE / Lint Node.js

Replace `·⏎` with `⏎··`
ofGeoCoordinates && ofGeoCoordinates.length > 0
? ofGeoCoordinates

Check failure on line 130 in react/List.tsx

View workflow job for this annotation

GitHub Actions / QE / Lint Node.js

Insert `··`
: [longitude || long, latitude || lat]

Check failure on line 131 in react/List.tsx

View workflow job for this annotation

GitHub Actions / QE / Lint Node.js

Insert `··`

setState({
...state,
Expand Down

0 comments on commit de152dd

Please sign in to comment.