fix: fixing sonar issues

This commit is contained in:
Chubby Granny Chaser
2025-01-22 00:19:24 +00:00
parent 71cb4cd240
commit 2aff983dec
4 changed files with 7 additions and 8 deletions

View File

@@ -67,7 +67,7 @@ export function RepacksModal({
};
const checkIfLastDownloadedOption = (repack: GameRepack) => {
if (!game || !game.download) return false;
if (!game?.download) return false;
return repack.uris.some((uri) => uri.includes(game.download!.uri));
};