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

Function handleFileUploadClick

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

Source from the content-addressed store, hash-verified

609 };
610
611 const handleFileUploadClick = () => {
612 if (!isAuthenticated) {
613 login();
614 return;
615 }
616
617 if (fileInputRef.current) {
618 fileInputRef.current.click();
619 }
620 };
621
622 const handleFileSelect = async (event: React.ChangeEvent<HTMLInputElement>) => {
623 const files = event.target.files;

Callers

nothing calls this directly

Calls 1

loginFunction · 0.85

Tested by

no test coverage detected