Skip to content

Commit

Permalink
chore: revert layout change
Browse files Browse the repository at this point in the history
  • Loading branch information
fz6m committed Jan 6, 2024
1 parent 3b8a311 commit 3ea60fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugins/src/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ ${isFlattedDepsDir ? '/// <reference types="antd" />' : ''}
content: `
${PKG_TYPE_REFERENCE}
import { Link, useLocation, useNavigate, Outlet, useAppData, useRouteData, matchRoutes } from 'umi';
import type { IRoute } from '@@/exports';
import type { IRoute } from 'umi';
import React, { useMemo } from 'react';
import {
ProLayout,
Expand Down Expand Up @@ -741,7 +741,7 @@ export default LogoIcon;
path: 'Exception.tsx',
content: `
import React from 'react';
import { history, type IRoute } from '@@/exports';
import { history, type IRoute } from 'umi';
import { Result, Button } from 'antd';
const Exception: React.FC<{
Expand Down

0 comments on commit 3ea60fc

Please sign in to comment.