Skip to content

Commit

Permalink
Remove buyers from order summary
Browse files Browse the repository at this point in the history
  • Loading branch information
git-commit committed May 23, 2023
1 parent cebb008 commit bf66aab
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions napoli-pain/src/components/order_details/order_details.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,6 @@ pub fn order_summary_props(props: &OrderSummaryProps) -> Html {
html! {
<div>
<p>{food}{"("}{order_entries.len()}{")"}</p>
<ul>
{order_entries.iter().map(|order_entry| html! {
<li>{format!("{}", order_entry.buyer)}</li>
}).collect::<Vec<_>>()}
</ul>
</div>
}
})
Expand Down

0 comments on commit bf66aab

Please sign in to comment.