Skip to content

Commit

Permalink
Update app/routes/ffxiv.extended-history.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
cohenaj194 and coderabbitai[bot] authored Jul 7, 2024
1 parent c5246a9 commit befe76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/ffxiv.extended-history.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const validateInput = ({

const parsedItemId = parseInt(itemId);

if (isNaN(parsedItemId)) return { exception: 'Invalid item' };
if (Number.isNaN(parsedItemId)) return { exception: 'Invalid item' };

return { itemId: parsedItemId, world };
};
Expand Down

0 comments on commit befe76a

Please sign in to comment.