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

Function updateAttributionState

src/screens/REPL.tsx:2455–2464  ·  view source on GitHub ↗
(updater: (prev: AttributionState) => AttributionState)

Source from the content-addressed store, hash-verified

2453 });
2454 },
2455 updateAttributionState(updater: (prev: AttributionState) => AttributionState) {
2456 setAppState(prev => {
2457 const updated = updater(prev.attribution);
2458 if (updated === prev.attribution) return prev;
2459 return {
2460 ...prev,
2461 attribution: updated
2462 };
2463 });
2464 },
2465 openMessageSelector: () => {
2466 if (!disabled) {
2467 setIsMessageSelectorVisible(true);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected