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

Function createEmptyState

context/historyStore.ts:34–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34const createEmptyState = (): CanvasState => ({
35 freeDrawingLines: [],
36 lines: [],
37 rectangles: [],
38 ellipses: [],
39 arrows: [],
40});
41
42interface HistoryStore {
43 current: CanvasState;

Callers 1

historyStore.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected