MCPcopy Create free account
hub / github.com/HKUDS/Paper2Slides / removeFile

Function removeFile

frontend/src/components/MessageInput.jsx:48–50  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

46 }
47
48 const removeFile = (index) => {
49 setSelectedFiles(prev => prev.filter((_, i) => i !== index))
50 }
51
52 const openPreview = (file) => {
53 setPreviewFile(file)

Callers 1

MessageInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected