(value: string)
| 30 | }: InvalidConfigDialogProps): React.ReactNode { |
| 31 | // Handler for Select onChange |
| 32 | const handleSelect = (value: string) => { |
| 33 | if (value === 'exit') { |
| 34 | onExit(); |
| 35 | } else { |
| 36 | onReset(); |
| 37 | } |
| 38 | }; |
| 39 | |
| 40 | return ( |
| 41 | <Dialog title="Configuration Error" color="error" onCancel={onExit}> |