auto lint fixes

This commit is contained in:
Paul Carroll 2025-08-08 17:01:18 -04:00
parent 9f85845973
commit 9b6c806c00
5 changed files with 42 additions and 40 deletions

View file

@ -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>
);
};
};