Skip to content

Commit

Permalink
Fixed useInstallMods's return type
Browse files Browse the repository at this point in the history
  • Loading branch information
olegbl committed Jul 5, 2024
1 parent d777612 commit 45015ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/react/modlist/hooks/useInstallMods.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { useCallback } from 'react';

export default function useInstallMods(
isUninstall: boolean = false,
): () => boolean {
): () => Promise<boolean> {
const showToast = useToast();
const dataPath = useDataPath();
const gamePath = useSanitizedGamePath();
Expand Down

0 comments on commit 45015ef

Please sign in to comment.