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

Function EffortOptionLabel

src/components/EffortCallout.tsx:185–209  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

183 return t2;
184}
185function EffortOptionLabel(t0) {
186 const $ = _c(5);
187 const {
188 level,
189 text
190 } = t0;
191 let t1;
192 if ($[0] !== level) {
193 t1 = <EffortIndicatorSymbol level={level} />;
194 $[0] = level;
195 $[1] = t1;
196 } else {
197 t1 = $[1];
198 }
199 let t2;
200 if ($[2] !== t1 || $[3] !== text) {
201 t2 = <>{t1} {text}</>;
202 $[2] = t1;
203 $[3] = text;
204 $[4] = t2;
205 } else {
206 t2 = $[4];
207 }
208 return t2;
209}
210
211/**
212 * Check whether to show the effort callout.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected