MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / submitCustom

Function submitCustom

ui-tui/src/components/billingOverlay.tsx:265–275  ·  view source on GitHub ↗
(raw: string)

Source from the content-addressed store, hash-verified

263 }
264
265 const submitCustom = (raw: string) => {
266 const v = ctx.validate(raw)
267
268 if (v.error || !v.amount) {
269 setError(v.error ?? 'Invalid amount.')
270
271 return
272 }
273
274 toConfirm(v.amount)
275 }
276
277 const choose = (i: number) => {
278 if (i < presets.length) {

Callers

nothing calls this directly

Calls 2

toConfirmFunction · 0.85
validateMethod · 0.80

Tested by

no test coverage detected