feat: undo change

This commit is contained in:
Zamitto 2024-07-05 12:13:47 -03:00
parent dde40f39e9
commit b58330ed35

View file

@ -46,9 +46,7 @@ export function RepacksModal({
const getInfoHash = useCallback(async () => {
const torrent = await parseTorrent(game?.uri ?? "");
if (torrent.infoHash) {
setInfoHash(torrent.infoHash);
}
if (torrent.infoHash) setInfoHash(torrent.infoHash);
}, [game]);
useEffect(() => {