forked from mystiq/hydrogen-web
Pass as separate arguments to constructor
This commit is contained in:
parent
4c3e0a6ff0
commit
5d42f372f6
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ export function createNavigation(): Navigation<SegmentType> {
|
|||
}
|
||||
|
||||
export function createRouter({history, navigation}) {
|
||||
return new URLRouter({history, navigation, stringifyPath, parseUrlPath});
|
||||
return new URLRouter(history, navigation, parseUrlPath, stringifyPath);
|
||||
}
|
||||
|
||||
function allowsChild(parent: {type: string, value: any} | undefined, child: {type: string, value: any}): boolean {
|
||||
|
|
Loading…
Reference in a new issue