From 0cb56aec074f3b31cbda53e175e36488a7242c78 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 4 Jul 2025 14:12:03 +0800 Subject: [PATCH] fix: import order --- src/app.tsx | 2 +- src/pages/User/Login/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.tsx b/src/app.tsx index 262e2673..158e5249 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -1,9 +1,9 @@ import { LinkOutlined } from '@ant-design/icons'; import type { Settings as LayoutSettings } from '@ant-design/pro-components'; -import { App } from 'antd'; import { SettingDrawer } from '@ant-design/pro-components'; import type { RunTimeLayoutConfig } from '@umijs/max'; import { history, Link } from '@umijs/max'; +import { App } from 'antd'; import React from 'react'; import { AvatarDropdown, diff --git a/src/pages/User/Login/index.tsx b/src/pages/User/Login/index.tsx index 64f60f42..57d32b67 100644 --- a/src/pages/User/Login/index.tsx +++ b/src/pages/User/Login/index.tsx @@ -20,7 +20,7 @@ import { useIntl, useModel, } from '@umijs/max'; -import { App, Alert, Tabs } from 'antd'; +import { Alert, App, Tabs } from 'antd'; import { createStyles } from 'antd-style'; import React, { useState } from 'react'; import { flushSync } from 'react-dom';