Skip to content

Commit

Permalink
refactor(client): fix the previous root components refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Feb 3, 2024
1 parent cc76d06 commit 57dd7fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export const createVueApp: CreateVueAppFunction = async () => {
}

// get all root components
const rootComponents = clientConfigs.flatMap(
({ rootComponents = [] }) => rootComponents,
const rootComponents = clientConfigs.flatMap(({ rootComponents = [] }) =>
rootComponents.map((component) => h(component)),
)

// get page layout
Expand Down

0 comments on commit 57dd7fc

Please sign in to comment.