Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const saveMeasurements = data => {
storage.set(props.config.name + "-measurements", data);
props.updateGist(data, "settings", "measurements");
};
const updateMeasurement = (name, val) => {
const saveDisplay = d => {
setDisplay(d);
storage.set(props.config.name + "-display", d);
};
const getMeasurements = () =>