Hi guys,
I have some trouble with storage API. I wanna store some values and I always get the same error and I have absolutely no clue what it might be. I share some of my code and I hope someone can help me out here.
manifest.yml
permissions:
scopes:
- read:jira-work
- storage:app
**admin.jsx**
import { storage } from '@forge/api';
const Choose = () => {
storage.set('key', [ 'Hello', 'World' ]);
const [formState, setFormState] = useState(undefined);
const onSubmit = async (formData) => {
var languages = formData["products"];
console.log(languages);
setFormState(formData);
};
That’s the error