Merge pull request #877 from Demonthos/fix-component-attribute-formatting

Don't accept raw attributes in components without trailing commas
This commit is contained in:
Jon Kelley authored and GitHub committed 2023-06-30 12:10:57 -07:00
commit 6f38c765e5
2 files changed
+19 -21

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ fn simple_test() {
onchange: move |router: RouterContext| log::trace!("route changed to {:?}", router.current_location()),
active_class: "is-active",
Route { to: "/", Home {} }
Route { to: "blog"
Route { to: "blog",
Route { to: "/", BlogList {} }
Route { to: ":id", BlogPost {} }
}