import {curry} from "ramda"

export const store = curry((key, val) => {
  try {
    localStorage.setItem(`karttatalkoot:${key}`, JSON.stringify({val}))
  } catch (ignore) {
  }
})

export const load = (key, defaultValue) => {
  try {
    const item = localStorage[`karttatalkoot:${key}`]
    return item ? JSON.parse(item).val : defaultValue
  } catch (ignore) {
    return defaultValue
  }
}

@@ -165,20 +165,41 @@
 gnore) %7B
-%0A 
  %7D
+ // eslint-disable-line
 %0A%7D)%0A%0Aexp

Fix eslint error