Browse Source

:fire: 不用的依赖

visuddhinanda 3 years ago
parent
commit
e0f00e6c54
1 changed files with 1 additions and 1 deletions
  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;