so, I copy/pasted the following code from the local storage API into my project:
import { localStorage } from "local-storage";
localStorage.setItem("myKey", "myValue");
console.log(localStorage.getItem("myKey"));and my build output keeps throwing me this error:
TypeError: Cannot create property 'code' on boolean 'true'
any help would be appreciated, I am really stuck!
Answered! Go to the Best Answer.
do you know the best way to implement local storage into a fitbit app?
*thanks for the response*
Best Answerthanks for your time, I'll check it out!