MCPcopy Create free account
hub / github.com/SplootCode/splootcode / newVar

Function newVar

packages/editor/src/components/config_panel.tsx:267–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

265 }
266
267 const newVar = () => {
268 const newEnvVars = { '': ['', false] as [string, boolean], ...envVars }
269 setEnvVars(newEnvVars)
270 }
271
272 const numberOfValidVars = varOrder.filter((name) => name !== '').length
273

Callers 1

ConfigPanelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected