MCPcopy Create free account
hub / github.com/dailydotdev/apps / save

Function save

packages/shared/src/features/feedExplain/useWhatsOffChange.ts:345–350  ·  view source on GitHub ↗
(value: ControlValue<FeedTopicMode>)

Source from the content-addressed store, hash-verified

343 }
344 const previous = getTopicControl(target.id);
345 const save = (value: ControlValue<FeedTopicMode>) =>
346 saveChange({
347 kind: ChangeKind.Topic,
348 keyword: target.id,
349 ...value,
350 });
351 if (!(await save({ mode: mode as FeedTopicMode | null }))) {
352 return null;
353 }

Callers 2

getLevelUndoFunction · 0.70
useWhatsOffChangeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected