Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ drop
Function
drop
packages/ui/src/theme/context.tsx:107–112 ·
view source on GitHub ↗
(key: string)
Source
from the content-addressed store, hash-verified
105
}
106
107
function drop(key: string) {
108
if (typeof localStorage !==
"object"
) return
109
try {
110
localStorage.removeItem(key)
111
} catch {}
112
}
113
114
function clear() {
115
drop(STORAGE_KEYS.THEME_CSS_LIGHT)
Callers
1
clear
Function · 0.70
Calls
1
removeItem
Method · 0.80
Tested by
no test coverage detected