diff --git a/src/components/cards/bannerCard.tsx b/src/components/cards/bannerCard.tsx index 9471f75..5399b75 100644 --- a/src/components/cards/bannerCard.tsx +++ b/src/components/cards/bannerCard.tsx @@ -61,7 +61,7 @@ const BannerCard = ({
diff --git a/src/components/errorComponent/index.tsx b/src/components/errorComponent/index.tsx index 28c44d6..4220f6d 100644 --- a/src/components/errorComponent/index.tsx +++ b/src/components/errorComponent/index.tsx @@ -33,7 +33,7 @@ const ErrorComponent = (props: ErrorComponentProps) => {
- + Go to Home

diff --git a/src/components/trailer/index.tsx b/src/components/trailer/index.tsx index 975dba3..577c9ee 100644 --- a/src/components/trailer/index.tsx +++ b/src/components/trailer/index.tsx @@ -1,8 +1,8 @@ +import { useLanguageContext } from "@/contexts/I18N"; import { IGDBReturnDataType } from "@/lib/api/igdb/types"; import { Button } from "../ui/button"; import { Dialog, DialogTrigger } from "../ui/dialog"; import TrailerDialogContent from "./dialogContent"; -import { useLanguageContext } from "@/contexts/I18N"; type Props = Pick; @@ -12,9 +12,7 @@ const TrailerButton = (props: Props) => { return ( - + diff --git a/src/features/downloads/components/cards/download/actions.tsx b/src/features/downloads/components/cards/download/actions.tsx index 06dcdea..30b116c 100644 --- a/src/features/downloads/components/cards/download/actions.tsx +++ b/src/features/downloads/components/cards/download/actions.tsx @@ -27,12 +27,7 @@ const DownloadCardActions = ({ return (
{status === "paused" ? ( - diff --git a/src/features/library/components/containers/tabs.tsx b/src/features/library/components/containers/tabs.tsx index 1dfef2b..51b9720 100644 --- a/src/features/library/components/containers/tabs.tsx +++ b/src/features/library/components/containers/tabs.tsx @@ -86,10 +86,7 @@ const LibraryTabs = ({ tabs, activeTab, setActiveTab }: LibraryTabsProps) => { {/* New Game Button */} - diff --git a/src/features/library/components/modals/newGame/import.tsx b/src/features/library/components/modals/newGame/import.tsx index 5d2ffa0..db7d2f4 100644 --- a/src/features/library/components/modals/newGame/import.tsx +++ b/src/features/library/components/modals/newGame/import.tsx @@ -1,10 +1,10 @@ -import { Input } from "@/components/ui/input"; +import { InputWithIcon } from "@/components/inputWithIcon"; import { PopoverContent } from "@/components/ui/popover"; import useSearch from "@/features/search/hooks/useSearch"; import { cn, getSteamIdFromWebsites } from "@/lib"; import { IGDBReturnDataType } from "@/lib/api/igdb/types"; import { t } from "i18next"; -import { ShipWheel } from "lucide-react"; +import { SearchIcon, ShipWheel } from "lucide-react"; import { Dispatch, SetStateAction, useState } from "react"; import { UseFormReturn } from "react-hook-form"; import { NewGameFormSchema } from "./schema"; @@ -42,11 +42,12 @@ const NewGameImport = ({ form, setPopoverOpen }: NewGameImportProps) => {
- setSearchTerm(e.target.value)} value={searchTerm} + startIcon={} />
diff --git a/src/features/library/components/modals/newGame/index.tsx b/src/features/library/components/modals/newGame/index.tsx index 4af7c24..ed46c5c 100644 --- a/src/features/library/components/modals/newGame/index.tsx +++ b/src/features/library/components/modals/newGame/index.tsx @@ -102,16 +102,12 @@ const NewGameModal = () => {
- + -
diff --git a/src/features/library/components/updateForm.tsx b/src/features/library/components/updateForm.tsx index 6daea9d..7d9adf5 100644 --- a/src/features/library/components/updateForm.tsx +++ b/src/features/library/components/updateForm.tsx @@ -108,11 +108,7 @@ const UpdateGameForm = ({ defaultValues, onSubmit }: UpdateGameFormProps) => { text={t("path")} description={t("the_path_to_the_game")} Button={ - } @@ -131,11 +127,7 @@ const UpdateGameForm = ({ defaultValues, onSubmit }: UpdateGameFormProps) => { description={t("the_path_or_url_of_the_icon")} required Button={ - } @@ -216,11 +208,7 @@ const UpdateGameForm = ({ defaultValues, onSubmit }: UpdateGameFormProps) => { - diff --git a/src/features/settings/components/tabs/accounts/addAccountButton.tsx b/src/features/settings/components/tabs/accounts/addAccountButton.tsx index cc8e5aa..3e075c4 100644 --- a/src/features/settings/components/tabs/accounts/addAccountButton.tsx +++ b/src/features/settings/components/tabs/accounts/addAccountButton.tsx @@ -21,7 +21,7 @@ const AddAccountButton = () => { return ( - + Choose an account diff --git a/src/features/settings/components/tabs/miscellaneous.tsx b/src/features/settings/components/tabs/miscellaneous.tsx index 74c4e33..b060846 100644 --- a/src/features/settings/components/tabs/miscellaneous.tsx +++ b/src/features/settings/components/tabs/miscellaneous.tsx @@ -23,7 +23,7 @@ const MiscellaneousSettings = () => { - diff --git a/src/features/settings/components/tabs/plugins/sort.tsx b/src/features/settings/components/tabs/plugins/sort.tsx index c9fd51a..db605da 100644 --- a/src/features/settings/components/tabs/plugins/sort.tsx +++ b/src/features/settings/components/tabs/plugins/sort.tsx @@ -34,7 +34,7 @@ const PluginsSort = ({