Skip to content

Commit

Permalink
fix(element): router mixin error
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Feb 25, 2023
1 parent 6cc97f2 commit c890b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/element/src/mixins/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function RouterMixin<T extends Constructor<SignalMixinInterface>>(
override connectedCallback(): void {
super.connectedCallback();
this._signalListenerList.push(
routeContextConsumer.subscribe(this._routeContextUpdated),
routeContextConsumer.subscribe((routeContext) => this._routeContextUpdated(routeContext)),
);
}

Expand Down

0 comments on commit c890b69

Please sign in to comment.