Fix ESLint issues
This commit is contained in:
@ -36,7 +36,7 @@ export function SelectAccountDialog(p: {
|
||||
};
|
||||
|
||||
return (
|
||||
<Dialog open={p.open} onClose={() => p.onClose()}>
|
||||
<Dialog open={p.open} onClose={() => { p.onClose(); }}>
|
||||
<DialogTitle>{p.title}</DialogTitle>
|
||||
<DialogContent dividers>
|
||||
<DialogContentText>{p.description}</DialogContentText>
|
||||
@ -53,7 +53,7 @@ export function SelectAccountDialog(p: {
|
||||
undefined
|
||||
}
|
||||
checked={option.id === choice?.id}
|
||||
onChange={() => setChoice(option)}
|
||||
onChange={() => { setChoice(option); }}
|
||||
/>
|
||||
}
|
||||
label={
|
||||
@ -72,7 +72,7 @@ export function SelectAccountDialog(p: {
|
||||
</RadioGroup>
|
||||
</DialogContent>
|
||||
<DialogActions>
|
||||
<Button onClick={() => p.onClose()}>Cancel</Button>
|
||||
<Button onClick={() => { p.onClose(); }}>Cancel</Button>
|
||||
<Button onClick={submit} autoFocus disabled={choice === null}>
|
||||
{p.confirmButton ?? "Submit"}
|
||||
</Button>
|
||||
|
Reference in New Issue
Block a user