mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: undo change
This commit is contained in:
parent
dde40f39e9
commit
b58330ed35
1 changed files with 1 additions and 3 deletions
|
@ -46,9 +46,7 @@ export function RepacksModal({
|
||||||
const getInfoHash = useCallback(async () => {
|
const getInfoHash = useCallback(async () => {
|
||||||
const torrent = await parseTorrent(game?.uri ?? "");
|
const torrent = await parseTorrent(game?.uri ?? "");
|
||||||
|
|
||||||
if (torrent.infoHash) {
|
if (torrent.infoHash) setInfoHash(torrent.infoHash);
|
||||||
setInfoHash(torrent.infoHash);
|
|
||||||
}
|
|
||||||
}, [game]);
|
}, [game]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue