MCPcopy Create free account
hub / github.com/hashintel/hash / setEnabledBadge

Function setEnabledBadge

apps/plugin-browser/src/shared/badge.ts:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21};
22
23export const setEnabledBadge = () => {
24 void browser.action.setIcon({ path: generateIconPath("enabled") });
25};
26
27export const setErroredBadge = () => {
28 void browser.action.setIcon({ path: generateIconPath("warning") });

Callers 2

background.tsFile · 0.90
setInLocalStorageFunction · 0.90

Calls 1

generateIconPathFunction · 0.85

Tested by

no test coverage detected