remove unused import

This commit is contained in:
Zamitto 2024-05-26 22:06:59 -03:00
parent cdd18a8ce2
commit 1299eecc12
2 changed files with 2 additions and 3 deletions

View file

@ -12,7 +12,6 @@ import { useAppDispatch, useAppSelector } from "@renderer/hooks";
import * as styles from "./header.css"; import * as styles from "./header.css";
import { clearSearch } from "@renderer/features"; import { clearSearch } from "@renderer/features";
import { Button } from "../button/button";
import { AppUpdaterEvents } from "@types"; import { AppUpdaterEvents } from "@types";
export interface HeaderProps { export interface HeaderProps {
@ -166,7 +165,7 @@ export function Header({ onSearch, onClear, search }: HeaderProps) {
className={styles.newVersionButton} className={styles.newVersionButton}
onClick={handleClickRestartAndUpdate} onClick={handleClickRestartAndUpdate}
> >
<SyncIcon size={14} /> <SyncIcon size={12} />
<small> <small>
New version {newVersion} available. Click here to restart and New version {newVersion} available. Click here to restart and
install install

View file

@ -1,5 +1,5 @@
import type { Downloader, GameStatus } from "@shared"; import type { Downloader, GameStatus } from "@shared";
import { ProgressInfo, UpdateInfo } from "electron-updater"; import { UpdateInfo } from "electron-updater";
export type GameShop = "steam" | "epic"; export type GameShop = "steam" | "epic";
export type CatalogueCategory = "recently_added" | "trending"; export type CatalogueCategory = "recently_added" | "trending";