MCPcopy Create free account
hub / github.com/BingyanStudio/github-analyzer / handlePresetChange

Function handlePresetChange

web/src/pages/Report.tsx:161–165  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

159 };
160
161 const handlePresetChange = (value: string) => {
162 setSelectedPreset(value);
163 // Update URL to reflect preset change
164 navigate(`/report?preset=${encodeURIComponent(value)}`, { replace: true });
165 };
166
167 // Function to handle report regeneration
168 const handleRegenerateReport = async () => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected