Skip to content

Commit e5191f8

Browse files
authored
Merge pull request #28 from junelva/june-edits
"on_init" -> "on_mount"
2 parents 596b767 + 947e11e commit e5191f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ implementing one or more of the following methods:
88
Event called when a component is added to the tree.
99

1010
```rust,ignore
11-
fn on_init(
11+
fn on_mount(
1212
&mut self,
1313
state: &mut Self::State,
1414
mut children: Children<'_, '_>,

0 commit comments

Comments
 (0)