Skip to content

Commit

Permalink
Clarified Dashboard imports
Browse files Browse the repository at this point in the history
  • Loading branch information
droberts-ctrlo committed Dec 11, 2024
1 parent 6dfaa11 commit 4799fc9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/frontend/components/dashboard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ export default (scope) => {
import(
/* webpackChunkName: "dashboard" */
'./lib/component'
).then(({ default: Component }) => {
initializeComponent(scope, '.dashboard', Component)
).then(({ default: DashboardComponent }) => {
initializeComponent(scope, '.dashboard', DashboardComponent)
}).then(() => {
import(
/* webpackChunkName: "dashboardgraph" */
'./dashboard-graph/lib/component'
).then(({ default: Component }) => {
initializeComponent(scope, '.dashboard-graph', Component)
).then(({ default: DashboardGraphComponent }) => {
initializeComponent(scope, '.dashboard-graph', DashboardGraphComponent)
})
});

Expand Down

0 comments on commit 4799fc9

Please sign in to comment.