Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/portainer/portainer
/ keyBuilder
Function
keyBuilder
app/react/hooks/useLocalStorage.ts:5–7 ·
view source on GitHub ↗
(key: string)
Source
from the content-addressed store, hash-verified
3
const
localStoragePrefix =
'portainer'
;
4
5
export
function
keyBuilder(key: string) {
6
return
`${localStoragePrefix}.${key}`;
7
}
8
9
export
function
useLocalStorage<T>(
10
key: string,
Callers
8
insights-store.ts
File · 0.90
createPersistedStore
Function · 0.90
notifications-store.ts
File · 0.90
filter-store.ts
File · 0.90
useUIState.tsx
File · 0.90
current-environment-store.ts
File · 0.90
get
Function · 0.70
set
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected