mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 00:33:49 +03:00
fix: fixing download sources migration
This commit is contained in:
parent
1fd930b0a3
commit
c9f8148acf
@ -3,7 +3,7 @@ import { Badge } from "@renderer/components";
|
|||||||
import type { DownloadSource } from "@types";
|
import type { DownloadSource } from "@types";
|
||||||
|
|
||||||
import { useAppDispatch, useAppSelector, useRepacks } from "@renderer/hooks";
|
import { useAppDispatch, useAppSelector, useRepacks } from "@renderer/hooks";
|
||||||
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
import { useEffect, useMemo, useRef, useState } from "react";
|
||||||
import { XIcon } from "@primer/octicons-react";
|
import { XIcon } from "@primer/octicons-react";
|
||||||
|
|
||||||
import "./catalogue.scss";
|
import "./catalogue.scss";
|
||||||
@ -28,15 +28,10 @@ const filterCategoryColors = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export default function Catalogue() {
|
export default function Catalogue() {
|
||||||
const inputRef = useRef<HTMLInputElement>(null);
|
|
||||||
|
|
||||||
const abortControllerRef = useRef<AbortController | null>(null);
|
const abortControllerRef = useRef<AbortController | null>(null);
|
||||||
|
|
||||||
const [steamUserTags, setSteamUserTags] = useState<any>({});
|
const [steamUserTags, setSteamUserTags] = useState<any>({});
|
||||||
|
|
||||||
const [searchParams] = useSearchParams();
|
|
||||||
const search = searchParams.get("search");
|
|
||||||
|
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
|
||||||
const [downloadSources, setDownloadSources] = useState<DownloadSource[]>([]);
|
const [downloadSources, setDownloadSources] = useState<DownloadSource[]>([]);
|
||||||
|
Loading…
Reference in New Issue
Block a user