The code returns the following error:
Unhandled promise rejection: Error: Missing closing } at :root
Revise the code to address the error.
I was previewing: /