Skip to content

Commit

Permalink
fix module reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Woland2k committed Nov 9, 2024
1 parent 12ea31b commit a305829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/VirtoCommerce.ImportModule.Web/import-app/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import VirtoShellFramework, { notification, useUser } from "@vc-shell/framework";
import * as modules from "@virtocommerce/import-app";
import * as modules from "./modules/import";
import { createApp } from "vue";
import { router } from "./router";
import * as locales from "./locales";
Expand All @@ -26,7 +26,7 @@ async function startApp() {
});

Object.values(modules.default).forEach((module) => {
app.use(module.default, { router });
app.use(module, { router });
});

app.use(router);
Expand Down

0 comments on commit a305829

Please sign in to comment.