()
| 7 | import { WorktreeExitDialog } from './WorktreeExitDialog.js'; |
| 8 | const GOODBYE_MESSAGES = ['Goodbye!', 'See ya!', 'Bye!', 'Catch you later!']; |
| 9 | function getRandomGoodbyeMessage(): string { |
| 10 | return sample(GOODBYE_MESSAGES) ?? 'Goodbye!'; |
| 11 | } |
| 12 | type Props = { |
| 13 | onDone: (message?: string) => void; |
| 14 | onCancel?: () => void; |