update util

main
Mike Fix 5 years ago
parent a856071fa3
commit a0c7fac3f8
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -59,21 +59,11 @@ export const unescapeHtml = s => {
}
}
export const getSettings = morph.compose(
parse,
escapeHtml,
morph.get(SETTINGS_KEY)
)
export const getSettings = morph.compose(parse, escapeHtml, morph.get(SETTINGS_KEY))
export const getPresets = morph.compose(
parse,
morph.get(PRESETS_KEY)
)
export const getPresets = morph.compose(parse, morph.get(PRESETS_KEY))
export const getThemes = morph.compose(
parse,
morph.get(THEMES_KEY)
)
export const getThemes = morph.compose(parse, morph.get(THEMES_KEY))
export const clearSettings = () => localStorage.removeItem(SETTINGS_KEY)

Loading…
Cancel
Save