mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 06:52:15 -07:00
auto lint fixes
This commit is contained in:
parent
9f85845973
commit
9b6c806c00
5 changed files with 42 additions and 40 deletions
|
|
@ -50,22 +50,22 @@ export const RefreshGuardModal: React.FC<RefreshGuardModalProps> = ({
|
|||
{title}
|
||||
</Box>
|
||||
</DialogTitle>
|
||||
|
||||
|
||||
<DialogContent>
|
||||
<Alert severity="warning" sx={{ mb: 2 }}>
|
||||
<Typography variant="body1" id="refresh-guard-description">
|
||||
{message}
|
||||
</Typography>
|
||||
</Alert>
|
||||
|
||||
|
||||
<Typography variant="body2" color="textSecondary">
|
||||
Your browser may also show a confirmation dialog. Both dialogs are asking the same thing -
|
||||
Your browser may also show a confirmation dialog. Both dialogs are asking the same thing -
|
||||
whether you want to leave the page and lose your current progress.
|
||||
</Typography>
|
||||
</DialogContent>
|
||||
|
||||
|
||||
<DialogActions>
|
||||
<Button
|
||||
<Button
|
||||
onClick={onClose}
|
||||
variant="contained"
|
||||
color="primary"
|
||||
|
|
@ -73,7 +73,7 @@ export const RefreshGuardModal: React.FC<RefreshGuardModalProps> = ({
|
|||
>
|
||||
{cancelButtonText}
|
||||
</Button>
|
||||
<Button
|
||||
<Button
|
||||
onClick={onConfirm}
|
||||
variant="outlined"
|
||||
color="error"
|
||||
|
|
@ -83,4 +83,4 @@ export const RefreshGuardModal: React.FC<RefreshGuardModalProps> = ({
|
|||
</DialogActions>
|
||||
</Dialog>
|
||||
);
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue