Skip to content

Commit

Permalink
chore: optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
ClarkXia committed Aug 1, 2023
1 parent b6cedbb commit e8c9f26
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
13 changes: 0 additions & 13 deletions packages/ice/templates/index.html

This file was deleted.

1 change: 0 additions & 1 deletion packages/runtime/src/runClientApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ async function render({ history, runtime, needHydrate }: RenderOptions) {
};
let singleComponent = null;
let routeData = null;
console.log('process.env.ICE_CORE_ROUTER', process.env.ICE_CORE_ROUTER);
if (process.env.ICE_CORE_ROUTER !== 'true') {
const singleRoute = matchRoutes(routes, location, basename)[0];
const { Component, loader } = await loadRouteModule(singleRoute.route, routeModuleCache);
Expand Down

0 comments on commit e8c9f26

Please sign in to comment.