MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / handleRight

Function handleRight

src/components/Modal/ChooseTemplate.jsx:20–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18 }
19 }
20 const handleRight = () => {
21 if (currentIndexRef.current < files.length - 2) {
22 currentIndexRef.current += 1
23 setNowPosition(currentIndexRef.current * 148)
24 }
25 }
26 const handleTemplateClick = (uid, index) => {
27 setSelectedIndex(index)
28 props.selectedTemplate(uid)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected