MCPcopy Create free account
hub / github.com/Noumena-Network/code / RainbowText

Function RainbowText

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected