mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: creating notification for update available
This commit is contained in:
parent
4be3db8007
commit
b09f2c055f
4 changed files with 38 additions and 7 deletions
|
@ -40,7 +40,10 @@ 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(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue