MCPcopy Create free account
hub / github.com/OpenSN-Library/OpenSN-Library / onConfirm

Function onConfirm

ui/src/Component/ContainerEnvDrawer.js:14–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 const [envValue,setEnvValue] = useState("")
13
14 const onConfirm = () => {
15 setEnvKey("")
16 setEnvValue("")
17 dataBuf.ns_config.container_envs[envKey] = envValue
18 setDataBuf(dataBuf)
19 setOpen(false)
20 console.log(dataBuf)
21 }
22
23 return (
24 <Drawer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected