MCPcopy Create free account
hub / github.com/Shitanshukumar607/Drawspace / updateLine

Function updateLine

hooks/DrawLineTool.ts:69–72  ·  view source on GitHub ↗
(id: string, updates: Partial<LineShapeWithProps>)

Source from the content-addressed store, hash-verified

67 };
68
69 const updateLine = (id: string, updates: Partial<LineShapeWithProps>) => {
70 saveToHistory();
71 updateLineInStore(id, updates);
72 };
73
74 return {
75 lines,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected