MCPcopy
hub / github.com/codeaashu/claude-code / getRandomGoodbyeMessage

Function getRandomGoodbyeMessage

src/components/ExitFlow.tsx:7–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

ExitFlowFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected