MCPcopy Create free account
hub / github.com/EsperoTech/yaade / setIsChanged

Function setIsChanged

client/src/state/currentCollection.tsx:51–57  ·  view source on GitHub ↗
(state: CurrentCollection | undefined, isChanged: boolean)

Source from the content-addressed store, hash-verified

49}
50
51function setIsChanged(state: CurrentCollection | undefined, isChanged: boolean) {
52 if (!state) return state;
53 return {
54 ...state,
55 isChanged,
56 };
57}
58
59function patchData(state: CurrentCollection | undefined, data: any) {
60 if (!state) return state;

Callers 1

currentCollectionReducerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected