mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Revert "feat: change selectFolderModal to a section inside repacksModal"
This reverts commit 934fb1145e
.
This commit is contained in:
parent
9627eae1d2
commit
4d548bb768
6 changed files with 155 additions and 98 deletions
|
@ -51,6 +51,7 @@ export function GameDetails() {
|
|||
const { t, i18n } = useTranslation("game_details");
|
||||
|
||||
const [showRepacksModal, setShowRepacksModal] = useState(false);
|
||||
const [showSelectFolderModal, setShowSelectFolderModal] = useState(false);
|
||||
|
||||
const randomGameObjectID = useRef<string | null>(null);
|
||||
|
||||
|
@ -153,6 +154,7 @@ export function GameDetails() {
|
|||
).then(() => {
|
||||
getGame();
|
||||
setShowRepacksModal(false);
|
||||
setShowSelectFolderModal(false);
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -177,6 +179,8 @@ export function GameDetails() {
|
|||
visible={showRepacksModal}
|
||||
gameDetails={gameDetails}
|
||||
startDownload={handleStartDownload}
|
||||
showSelectFolderModal={showSelectFolderModal}
|
||||
setShowSelectFolderModal={setShowSelectFolderModal}
|
||||
onClose={() => setShowRepacksModal(false)}
|
||||
/>
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue