fix CI
This commit is contained in:
1 parent
577f99e68c
commit
a9307e57e6
23 files changed
+160
-164
No files matched your search
@@ -39,8 +39,8 @@ fn prepare(path: impl Into<String>) -> VirtualDom {
|
||||
h1 { "App" }
|
||||
Router {
|
||||
config: {
|
||||
let path = cx.props.path.clone();
|
||||
move || RouterConfiguration::default().history(MemoryHistory::with_initial_path(path).unwrap())
|
||||
let path = cx.props.path.parse().unwrap();
|
||||
move || RouterConfig::default().history(MemoryHistory::with_initial_path(path))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user