We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2266849 commit 6617946Copy full SHA for 6617946
src/components/icon_badges.rs
@@ -3,7 +3,7 @@ use yew::prelude::*;
3
use stylist::{style, yew::styled_component};
4
5
pub fn get_icon_badge(name: &str) -> Option<Html> {
6
- return match name.to_lowercase().as_str() {
+ match name.to_lowercase().as_str() {
7
"java" => Some(html! {<Java />}),
8
"python" => Some(html! {<Python />}),
9
"rust" => Some(html! {<Rust />}),
@@ -27,7 +27,7 @@ pub fn get_icon_badge(name: &str) -> Option<Html> {
27
"nuxtjs" => Some(html! {<Vue />}),
28
"nuxt.js" => Some(html! {<Vue />}),
29
_ => None,
30
- };
+ }
31
}
32
33
#[derive(Debug, PartialEq, Properties)]
0 commit comments