MCPcopy Index your code
hub / github.com/OpenSignLabs/OpenSign / removeFile

Function removeFile

apps/OpenSign/src/components/pdf/PdfHeader.jsx:64–68  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

62
63 // `removeFile` is used to remove file if exists
64 const removeFile = (e) => {
65 if (e) {
66 e.target.value = "";
67 }
68 };
69
70 const handleFileUpload = async (e) => {
71 const file = e.target.files[0];

Callers 1

handleFileUploadFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected