Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TraderAlice/OpenAlice
/ removeGuard
Function
removeGuard
ui/src/components/guards.tsx:86–89 ·
view source on GitHub ↗
(idx: number)
Source
from the content-addressed store, hash-verified
84
}
85
86
const removeGuard = (idx: number) => {
87
onChangeImmediate(guards.filter((_, i) => i !== idx))
88
setEditingIdx(null)
89
}
90
91
const moveGuard = (idx: number, dir: -1 | 1) => {
92
const target = idx + dir
Callers
1
GuardsSection
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected