Skip to content

Commit

Permalink
Merge branch 'main' of gitlab.itlibecc.com:changying/platform/xterios…
Browse files Browse the repository at this point in the history
…dk-web
  • Loading branch information
Francis11h committed Oct 15, 2024
2 parents 4e5502f + 85028db commit 809e297
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/tg-mini-app/src/routes/RenderRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ export const renderRoutes = (mainRoutes) => {
<Route key={index} element={<Layout />}>
{subRoutes
.filter((item: any) => !!item.component)
.map(({ component, path, name, isPublic }) => {
.map((it: any) => {
const { component, path, name, isPublic } = it || {}
// const Component = lazy(component)
const Component = component
return (
Expand Down

0 comments on commit 809e297

Please sign in to comment.