MCPcopy Create free account
hub / github.com/SpacehuhnTech/espwebtool / addFile

Function addFile

src/components/FileList.js:21–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20const FileList = (props) => {
21 const addFile = () => {
22 props.setUploads([...props.uploads, {
23 offset: 0
24 }])
25 }
26
27 const reset = () => {
28 const newUploads = defaultFiles(props.chipName)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected