MCPcopy Create free account
hub / github.com/Bitbox-Connect/Bitbox / toggleAnswer

Function toggleAnswer

client/src/component/FAQs.jsx:37–39  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

35 ];
36
37 const toggleAnswer = (index) => {
38 setActiveIndex(activeIndex === index ? null : index);
39 };
40
41 return (
42 <div className="faq-container">

Callers 1

FAQFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected