Skip to content

Commit

Permalink
fix(credit): display JP Morgan in RFQ Tile footer instead of Unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
algreasley committed Feb 8, 2023
1 parent 6ac6d57 commit 53e0842
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 0 additions & 6 deletions package-lock.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ export const AcceptedFooterContent = ({
acceptedDealerId?: number
}) => {
const dealerName =
(acceptedDealerId ? useCreditDealerById(acceptedDealerId) : undefined)
?.name ?? "Unknown Dealer"
(acceptedDealerId !== undefined
? useCreditDealerById(acceptedDealerId)
: undefined
)?.name ?? "Unknown Dealer"

return (
<>
Expand Down

0 comments on commit 53e0842

Please sign in to comment.