@mantajs/dashboard 0.1.12 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/app.js CHANGED
@@ -196119,7 +196119,7 @@ var localPlugin = {
196119
196119
  };
196120
196120
  function App({ plugins = [] }) {
196121
196121
  const app = new DashboardApp({
196122
- plugins: [localPlugin, ...plugins]
196122
+ plugins: [...plugins, localPlugin]
196123
196123
  });
196124
196124
  return /* @__PURE__ */ (0, import_jsx_runtime709.jsx)("div", { children: app.render() });
196125
196125
  }
package/dist/app.mjs CHANGED
@@ -71,7 +71,7 @@ var localPlugin = {
71
71
  };
72
72
  function App({ plugins = [] }) {
73
73
  const app = new DashboardApp({
74
- plugins: [localPlugin, ...plugins]
74
+ plugins: [...plugins, localPlugin]
75
75
  });
76
76
  return /* @__PURE__ */ jsx("div", { children: app.render() });
77
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantajs/dashboard",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "B2B Admin Dashboard for Medusa - Fork of @medusajs/dashboard",
5
5
  "scripts": {
6
6
  "dev": "vite",
package/src/app.tsx CHANGED
@@ -25,7 +25,7 @@ interface AppProps {
25
25
 
26
26
  function App({ plugins = [] }: AppProps) {
27
27
  const app = new DashboardApp({
28
- plugins: [localPlugin, ...plugins],
28
+ plugins: [...plugins, localPlugin],
29
29
  })
30
30
 
31
31
  return <div>{app.render()}</div>