MCPcopy Create free account
hub / github.com/Microck/opencode-studio / handleOpen

Function handleOpen

client-next/src/app/plugins/page.tsx:35–38  ·  view source on GitHub ↗
(name: string, type: 'file' | 'npm')

Source from the content-addressed store, hash-verified

33 }, [plugins, search]);
34
35 const handleOpen = (name: string, type: 'file' | 'npm') => {
36 if (type === 'npm') return;
37 router.push(`/editor?type=plugins&name=${encodeURIComponent(name)}`);
38 };
39
40 const handleToggle = async (name: string) => {
41 try {

Callers 1

PluginsPageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected