Tweak error message
This commit is contained in:
parent
9033473974
commit
54c407ba3e
|
|
@ -93,7 +93,9 @@ impl BevyTemplateNode {
|
||||||
children,
|
children,
|
||||||
} => {
|
} => {
|
||||||
if *tag != "div" {
|
if *tag != "div" {
|
||||||
panic!("Unsupported bevy_dioxus tag {tag}. Only `div` is supported.");
|
panic!(
|
||||||
|
"Encountered unsupported bevy_dioxus tag `{tag}`. Only `div` is supported."
|
||||||
|
);
|
||||||
}
|
}
|
||||||
Self::Node {
|
Self::Node {
|
||||||
children: children.iter().map(Self::from_dioxus).collect(),
|
children: children.iter().map(Self::from_dioxus).collect(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue