소스 검색

:fire: 不用的依赖

visuddhinanda 3 년 전
부모
커밋
e0f00e6c54
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      dashboard/src/components/article/ArticleCard.tsx

+ 1 - 1
dashboard/src/components/article/ArticleCard.tsx

@@ -1,3 +1,4 @@
+import { useNavigate } from "react-router-dom";
 import { useIntl } from "react-intl";
 import { useState } from "react";
 import { Button, Card, Dropdown, Space, Segmented } from "antd";
@@ -9,7 +10,6 @@ import { modeChange } from "../../reducers/article-mode";
 import { IWidgetArticleData } from "./ArticleView";
 import ArticleCardMainMenu from "./ArticleCardMainMenu";
 import { ArticleMode } from "./Article";
-import { useNavigate } from "react-router-dom";
 
 interface IWidgetArticleCard {
   type?: string;