UI: Improve soft reset dialog, and always confirm soft resets (#809)

This commit is contained in:
missymae#2783
2023-09-17 14:30:10 -06:00
committed by GitHub
parent b9d13063ac
commit e1d2e12747
6 changed files with 24 additions and 12 deletions
+1
View File
@@ -34,6 +34,7 @@ export function DeleteGameButton({ color = "primary" }: IProps): React.ReactElem
open={modalOpened}
onClose={() => setModalOpened(false)}
confirmationText={"Really delete your game? (It's permanent!)"}
additionalButton={<Button onClick={() => setModalOpened(false)}>Cancel</Button>}
/>
</>
);