Skip to content

Commit

Permalink
Remove aria-foo from hello_world example
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejhirsz committed Apr 18, 2023
1 parent c41f46b commit 0ae654b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/hello_world/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use kobold::prelude::*;
#[component]
fn Hello(name: &str) -> impl View + '_ {
// No need to close tags at the end of the macro
view! { <h1 aria-foo="bar"> "Hello "{ name }"!" }
view! { <h1> "Hello "{ name }"!" }
}

fn main() {
Expand Down

0 comments on commit 0ae654b

Please sign in to comment.