MCPcopy Create free account
hub / github.com/F12FLASH/CTF / toggleSection

Function toggleSection

4.Stackless Stack/client/src/pages/challenge.tsx:101–103  ·  view source on GitHub ↗
(section: keyof typeof expandedSections)

Source from the content-addressed store, hash-verified

99 };
100
101 const toggleSection = (section: keyof typeof expandedSections) => {
102 setExpandedSections(prev => ({ ...prev, [section]: !prev[section] }));
103 };
104
105 if (challengeLoading) {
106 return (

Callers 1

ChallengePageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected