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

Function removeFile

apps/OpenSign/src/components/pdf/PdfTools.jsx:56–60  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

54
55 // `removeFile` is used to remove file if exists
56 const removeFile = (e) => {
57 if (e) {
58 e.target.value = "";
59 }
60 };
61
62 const handleFileUpload = async (e) => {
63 props.setIsTour && props.setIsTour(false);

Callers 1

handleFileUploadFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected