({
title,
message,
onCancel,
}: {
title: string
message: string
onCancel: () => void
})
| 143 | } |
| 144 | |
| 145 | function LoadingDialog({ |
| 146 | title, |
| 147 | message, |
| 148 | onCancel, |
| 149 | }: { |
| 150 | title: string |
| 151 | message: string |
| 152 | onCancel: () => void |
| 153 | }): React.ReactNode { |
| 154 | return ( |
| 155 | <Dialog title={title} onCancel={onCancel} color="background"> |
| 156 | <Box flexDirection="column" gap={1}> |
| 157 | <Text>{message}</Text> |
| 158 | </Box> |
| 159 | </Dialog> |
| 160 | ) |
| 161 | } |
| 162 | |
| 163 | function ErrorDialog({ |
| 164 | message, |
nothing calls this directly
no outgoing calls
no test coverage detected