MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / onUninstall

Function onUninstall

packages/app-core/src/components/SettingsModal.tsx:4947–4958  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4945 }
4946
4947 const onUninstall = async (): Promise<void> => {
4948 setBusy(true)
4949 setError(null)
4950 try {
4951 await window.zen.cliUninstall()
4952 await refresh()
4953 } catch (err) {
4954 setError((err as Error).message)
4955 } finally {
4956 setBusy(false)
4957 }
4958 }
4959
4960 const copyToClipboard = (text: string): void => {
4961 window.zen.clipboardWriteText(text)

Callers 2

CliSettingsFunction · 0.85
McpSettingsFunction · 0.85

Calls 3

cliUninstallMethod · 0.80
mcpUninstallMethod · 0.80
refreshFunction · 0.70

Tested by

no test coverage detected