From 1299eecc12e138072fc8db041ac16467db926f91 Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Sun, 26 May 2024 22:06:59 -0300 Subject: [PATCH] remove unused import --- src/renderer/src/components/header/header.tsx | 3 +-- src/types/index.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/components/header/header.tsx b/src/renderer/src/components/header/header.tsx index ca596854..19ce89a9 100644 --- a/src/renderer/src/components/header/header.tsx +++ b/src/renderer/src/components/header/header.tsx @@ -12,7 +12,6 @@ import { useAppDispatch, useAppSelector } from "@renderer/hooks"; import * as styles from "./header.css"; import { clearSearch } from "@renderer/features"; -import { Button } from "../button/button"; import { AppUpdaterEvents } from "@types"; export interface HeaderProps { @@ -166,7 +165,7 @@ export function Header({ onSearch, onClear, search }: HeaderProps) { className={styles.newVersionButton} onClick={handleClickRestartAndUpdate} > - + New version {newVersion} available. Click here to restart and install diff --git a/src/types/index.ts b/src/types/index.ts index 19ff2c75..958708f2 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1,5 +1,5 @@ import type { Downloader, GameStatus } from "@shared"; -import { ProgressInfo, UpdateInfo } from "electron-updater"; +import { UpdateInfo } from "electron-updater"; export type GameShop = "steam" | "epic"; export type CatalogueCategory = "recently_added" | "trending";