(value: string)
| 16 | */ |
| 17 | export function InvalidSettingsDialog({ settingsErrors, onContinue, onExit }: Props): React.ReactNode { |
| 18 | function handleSelect(value: string): void { |
| 19 | if (value === 'exit') { |
| 20 | onExit(); |
| 21 | } else { |
| 22 | onContinue(); |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | return ( |
| 27 | <Dialog title="Settings Error" onCancel={onExit} color="warning"> |