Skip to content

Commit 9544486

Browse files
committed
[Fix] Gogdl issues don't fail gracefully Heroic-Games-Launcher#1125
1 parent 9dd95db commit 9544486

File tree

1 file changed

+1
-2
lines changed
  • src/screens/Library/components/InstallModal

1 file changed

+1
-2
lines changed

src/screens/Library/components/InstallModal/index.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export default function InstallModal({
9696
) as InstallProgress
9797

9898
const { i18n, t } = useTranslation('gamepage')
99+
const { t: tr } = useTranslation()
99100
const { libraryStatus, handleGameStatus, platform } =
100101
useContext(ContextProvider)
101102
const gameStatus: GameStatus = libraryStatus.filter(
@@ -156,8 +157,6 @@ export default function InstallModal({
156157
function handleDlcs() {
157158
setInstallDlcs(!installDlcs)
158159
}
159-
const [sdlList, setSdlList] = useState([...mandatoryTags])
160-
const { t: tr } = useTranslation()
161160

162161
async function handleInstall(path?: string) {
163162
backdropClick()

0 commit comments

Comments
 (0)