Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/Paper2Slides
/ handleFilesSelected
Function
handleFilesSelected
frontend/src/components/MessageInput.jsx:44–46 ·
view source on GitHub ↗
(files)
Source
from the content-addressed store, hash-verified
42
}
43
44
const handleFilesSelected = (files) => {
45
setSelectedFiles(prev => [...prev, ...files])
46
}
47
48
const removeFile = (index) => {
49
setSelectedFiles(prev => prev.filter((_, i) => i !== index))
Callers
1
handleDrop
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected