mirror of
https://github.com/leptos-rs/book.git
synced 2025-12-27 07:35:38 -05:00
Minor code fix in example (#230)
An example `view!` tag was not closed, creating a compilation error.
This commit is contained in:
@@ -437,7 +437,7 @@ That would make the example above look like this:
|
||||
```rust
|
||||
fn spread_onto_component() -> impl Attribute {
|
||||
view!{
|
||||
<{..} aria-label="a component with attribute spreading">
|
||||
<{..} aria-label="a component with attribute spreading"/>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user