chore: add english comment
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
// @ts-nocheck
|
||||
// This file is generated by Umi automatically
|
||||
// DO NOT CHANGE IT MANUALLY!
|
||||
import React from 'react';
|
||||
import icons from './icons';
|
||||
|
||||
@@ -13,7 +11,6 @@ function formatIcon(name: string) {
|
||||
}
|
||||
|
||||
export function patchRoutes({ routes, initialState }) {
|
||||
console.log('patchRoutes99999', routes);
|
||||
Object.keys(routes).forEach((key) => {
|
||||
const { icon } = routes[key];
|
||||
if (icon && typeof icon === 'string') {
|
||||
|
||||
Reference in New Issue
Block a user