MCPcopy Create free account
hub / github.com/code100x/cms / handleModalChoice

Function handleModalChoice

src/components/admin/AddContent.tsx:44–47  ·  view source on GitHub ↗
(choice: boolean)

Source from the content-addressed store, hash-verified

42 };
43
44 const handleModalChoice = (choice: boolean) => {
45 setDiscordChecked(choice);
46 setIsModalOpen(false);
47 };
48 const [adminPassword, setAdminPassword] = useState('');
49 const [loading, setLoading] = useState<boolean>(false);
50

Callers 1

AddContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected