MCPcopy Create free account
hub / github.com/codeaashu/claude-code / RainbowText

Function RainbowText

src/buddy/useBuddyNotification.tsx:22–36  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

20 return d.getFullYear() > 2026 || d.getFullYear() === 2026 && d.getMonth() >= 3;
21}
22function RainbowText(t0) {
23 const $ = _c(2);
24 const {
25 text
26 } = t0;
27 let t1;
28 if ($[0] !== text) {
29 t1 = <>{[...text].map(_temp)}</>;
30 $[0] = text;
31 $[1] = t1;
32 } else {
33 t1 = $[1];
34 }
35 return t1;
36}
37
38// Rainbow /buddy teaser shown on startup when no companion hatched yet.
39// Idle presence and reactions are handled by CompanionSprite directly.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected