MCPcopy Index your code
hub / github.com/CapSoftware/Cap / loadOverlayUiState

Function loadOverlayUiState

apps/chrome-extension/src/shared/storage.ts:240–243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

238 });
239
240export const loadOverlayUiState = async () => {
241 const result = await getLocal([OVERLAY_UI_STATE_KEY]);
242 return normalizeOverlayUiState(result[OVERLAY_UI_STATE_KEY]);
243};
244
245export const saveOverlayUiState = (state: OverlayUiState) =>
246 setLocal({ [OVERLAY_UI_STATE_KEY]: state });

Callers 3

syncOverlayUiStateFunction · 0.90
syncOverlayUiStateFunction · 0.90
updateOverlayUiStateFunction · 0.85

Calls 2

getLocalFunction · 0.85
normalizeOverlayUiStateFunction · 0.85

Tested by

no test coverage detected