useState is not working

I am working on a Chrome extension that simply store some user input the storage and autofill them when needed.

Right now, I am stuck at the loading state. I want to render loading state when the user clicks on the "Save Citation" button. However, the setIsSaving is not triggered. Please reference the console.log for that.

How can I solve the issue?
image.png
image.png
image.png
Was this page helpful?