MCPcopy
hub / github.com/TransformerOptimus/SuperAGI / setLocalStorageValue

Function setLocalStorageValue

gui/utils/utils.js:240–243  ·  view source on GitHub ↗
(key, value, stateFunction)

Source from the content-addressed store, hash-verified

238};
239
240export const setLocalStorageValue = (key, value, stateFunction) => {
241 stateFunction(value);
242 localStorage.setItem(key, value);
243};
244
245export const setLocalStorageArray = (key, value, stateFunction) => {
246 stateFunction(value);

Callers 15

handleNameChangeFunction · 0.90
handleDescriptionChangeFunction · 0.90
handleURLChangeFunction · 0.90
handleAddToolFunction · 0.90
handleDateTimeChangeFunction · 0.90
handleTimeChangeFunction · 0.90
toggleRecurringFunction · 0.90
handleTimeSelectFunction · 0.90
handleExpirySelectFunction · 0.90
handleDateChangeFunction · 0.90
handleExpiryRunsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected