Skip to content

Commit

Permalink
chore: remove useless }
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Feb 4, 2023
1 parent be266ad commit ba8c2a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RouteLayout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function setupLayouts(routes) {
return {
path: route.path,
component: layouts[route.meta?.layout || '${options.defaultLayout}'],
children: route.path === '/' ? [route] : [{...route, path: ''}]}
children: route.path === '/' ? [route] : [{...route, path: ''}]
}
})
}
Expand Down

0 comments on commit ba8c2a8

Please # to comment.