Skip to content

Commit da45fa8

Browse files
committed
fix: remove unnecesary map into the project card component
1 parent 3102b84 commit da45fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/cards/project_card.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub fn ProjectCard(
6060
<div class="flex gap-2 items-center mt-4">
6161
<ButtonLink href=button_link size="tiny">
6262
{if button_text.is_empty() {
63-
name.into_iter().map(|word| word).collect::<Vec<_>>().join("")
63+
name.into_iter().collect::<Vec<_>>().join("")
6464
} else {
6565
button_text.to_string()
6666
}}

0 commit comments

Comments
 (0)