chore: remove unused kit components (#1871)

This commit is contained in:
boojack
2023-07-01 12:34:37 +08:00
committed by GitHub
parent 30fae208c2
commit db8b8f0d58
6 changed files with 10 additions and 55 deletions

View File

@ -4,7 +4,6 @@ import * as api from "@/helpers/api";
import storage from "@/helpers/storage";
import { useGlobalStore } from "@/store/module";
import Icon from "./Icon";
import Tooltip from "./kit/Tooltip";
interface State {
latestVersion: string;
@ -51,11 +50,9 @@ const UpgradeVersionView: React.FC = () => {
>
New version: v{state.latestVersion}
</a>
<Tooltip title="Ignore upgrade" side="top">
<button className="ml-1 opacity-60 text-gray-600 hover:opacity-100" onClick={onSkip}>
<Icon.X className="w-4 h-auto" />
</button>
</Tooltip>
<button className="ml-1 opacity-60 text-gray-600 hover:opacity-100" onClick={onSkip}>
<Icon.X className="w-4 h-auto" />
</button>
</div>
);
};