Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
34
const
createEmptyState = (): CanvasState => ({
35
freeDrawingLines: [],
36
lines: [],
37
rectangles: [],
38
ellipses: [],
39
arrows: [],
40
});
41
42
interface
HistoryStore {
43
current: CanvasState;
Callers
1
historyStore.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected