Skip to content

Commit

Permalink
Add the ability to add new retailers with full details
Browse files Browse the repository at this point in the history
  • Loading branch information
davewalker5 committed Nov 22, 2023
1 parent debb5b5 commit ef6d0f9
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/music-catalogue-ui/components/albumPurchaseDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,6 @@ const AlbumPurchaseDetails = ({ artist, album, navigate, logout }) => {
];
}

// Identify the default retailer for the drop-down
let defaultValue = null;
if (retailerId != null) {
const retailer = retailers.find((x) => x.id == retailerId);
if (retailer != null) {
defaultValue = retailer.name;
}
}

return (
<>
<div className="row mb-2 pageTitle">
Expand Down

0 comments on commit ef6d0f9

Please sign in to comment.