(
id: string,
updates: Partial<RectangleShapeWithProps>
)
| 84 | }; |
| 85 | |
| 86 | const updateRectangle = ( |
| 87 | id: string, |
| 88 | updates: Partial<RectangleShapeWithProps> |
| 89 | ) => { |
| 90 | saveToHistory(); |
| 91 | updateRectangleInStore(id, updates); |
| 92 | }; |
| 93 | |
| 94 | return { |
| 95 | rectangles, |
nothing calls this directly
no outgoing calls
no test coverage detected