MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / clearFileInput

Function clearFileInput

apps/web/ui/MessageForm/index.tsx:262–267  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

260 }, [mention]);
261
262 const clearFileInput = () => {
263 const node = document.getElementById(`${id}-files`) as HTMLInputElement;
264 if (node) {
265 node.value = '';
266 }
267 };
268 function uploadFiles(files: File[]) {
269 if (!upload) {
270 return;

Callers 1

uploadFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected