MCPcopy Create free account
hub / github.com/triggerdotdev/jsonhero-web / savePreferences

Function savePreferences

app/components/PreferencesProvider.tsx:26–26  ·  view source on GitHub ↗
(preferences: Preferences)

Source from the content-addressed store, hash-verified

24 return parsedPreferences;
25};
26const savePreferences = (preferences: Preferences) => localStorage.setItem('preferences', JSON.stringify(preferences));
27
28export function PreferencesProvider({
29 children,

Callers 1

PreferencesProviderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected