Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cohenaj194 committed Jun 9, 2024
1 parent 9dda05f commit d659135
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/components/form/WoW/MarketshareForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const MarketShareForm = ({
commodityDefault?: boolean
}) => {
// // debug the issue is this is being passed as a bool not a string
// console.log('loaderdata', loaderData.commodity)
// console.log('commodity', loaderData.commodity)
return (
<div className="pt-2 md:pt-4">
<InputWithLabel
Expand Down
4 changes: 1 addition & 3 deletions app/routes/wow.marketshare._index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,7 @@ export const loader: LoaderFunction = async ({ request }) => {
requiredLevel:
params.get('requiredLevel') ||
defaultFormValuesMarketShare.requiredLevel.toString(),
commodity:
params.get('commodity') ||
defaultFormValuesMarketShare.commodity
commodity: params.get('commodity') || defaultFormValuesMarketShare.commodity
}

const validInput = searchParamsTypes.safeParse(input)
Expand Down

0 comments on commit d659135

Please sign in to comment.