Skip to content

Commit

Permalink
fix: Registrations should go to Vaadin, not Vaadin.views (#2762)
Browse files Browse the repository at this point in the history
fix: Registrations should to Vaadin, not Vaadin.views
  • Loading branch information
Artur- authored Sep 25, 2024
1 parent 80b41cd commit d72d6a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ts/file-router/src/runtime/createMenuItems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const viewsSignal = signal((window as VaadinWindow).Vaadin?.views);
export function createMenuItems(): readonly MenuItem[] {
// @ts-expect-error: esbuild injection
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
__REGISTER__('createMenuItems', (window as VaadinWindow).Vaadin?.views);
__REGISTER__('createMenuItems', (window as VaadinWindow).Vaadin);
const collator = new Intl.Collator('en-US');
if (!viewsSignal.value) {
return [];
Expand Down

0 comments on commit d72d6a3

Please sign in to comment.