Skip to content

Commit 264d027

Browse files
chore(urlRule): Fix formatting
1 parent 6196a7e commit 264d027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/url/urlRule.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class UrlRuleFactory {
3838
const makeRule = pattern([
3939
[isString, (_what: string) => makeRule(this.compile(_what))],
4040
[is(UrlMatcher), (_what: UrlMatcher) => this.fromUrlMatcher(_what, handler)],
41-
[isState, (_what: StateObject) => this.fromState(_what, this.router)],
41+
[isState, (_what: StateObject) => this.fromState(_what, this.router)],
4242
[is(RegExp), (_what: RegExp) => this.fromRegExp(_what, handler)],
4343
[isFunction, (_what: UrlRuleMatchFn) => new BaseUrlRule(_what, handler as UrlRuleHandlerFn)],
4444
]);

0 commit comments

Comments
 (0)