Skip to content

Commit

Permalink
Update packages/yew/src/dom_bundle/bnode.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
  • Loading branch information
futursolo and ranile committed Mar 31, 2022
1 parent 236baa1 commit 6cb88c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yew/src/dom_bundle/bnode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ mod feat_hydration {
}
// You cannot hydrate a VPortal.
VNode::VPortal(_) => {
panic!("VPortal is not hydratable. Try to create your portal by delaying it with use_effect.")
panic!("VPortal is not hydratable. Try creating your portal by delaying it with use_effect.")
}
VNode::VSuspense(vsuspense) => {
let (node_ref, suspense) =
Expand Down

0 comments on commit 6cb88c9

Please sign in to comment.