MCPcopy Create free account
hub / github.com/Roy3838/Observer / handleFileUploadClick

Function handleFileUploadClick

app/src/components/CommunityTab.tsx:625–634  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

623 };
624
625 const handleFileUploadClick = () => {
626 if (!isAuthenticated) {
627 login();
628 return;
629 }
630
631 if (fileInputRef.current) {
632 fileInputRef.current.click();
633 }
634 };
635
636 const handleFileSelect = async (event: React.ChangeEvent<HTMLInputElement>) => {
637 const files = event.target.files;

Callers

nothing calls this directly

Calls 1

loginFunction · 0.85

Tested by

no test coverage detected