Skip to content

Commit

Permalink
Fix prettier code formatting for app/routes/queries.full-scan.tsx (#488)
Browse files Browse the repository at this point in the history
* fix(ui): Stretch table to full width in queries/full-scan

* fix(code/prettier): fixed code formatting using prettier
  • Loading branch information
khaterdev authored Aug 26, 2024
1 parent 6bed23e commit 1b692c8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/routes/queries.full-scan.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ export const loader: LoaderFunction = ({ request }) => {
: undefined,
filters: url.searchParams.has('filters')
? decodeURIComponent(url.searchParams.get('filters') as string)
?.split(',')
.map((str) => parseInt(str))
?.split(',')
.map((str) => parseInt(str))
: undefined,
hQChecked: url.searchParams.has('hQChecked')
? url.searchParams.get('hQChecked') === 'true'
Expand Down Expand Up @@ -181,7 +181,9 @@ const Index = () => {
loading={transition.state === 'submitting'}
onClick={onSubmit}
error={
results && 'exception' in results ? results.exception : undefined
results && 'exception' in results
? results.exception
: undefined
}
defaultHours={searchParams.hours}
defaultSalesAmount={searchParams.salesAmount}
Expand Down

0 comments on commit 1b692c8

Please sign in to comment.