Add a }) to the end of line 2
You haven’t import wix location
import wixLocation from ‘wix-location’;
Add this line before the first line
@certified-code like this?
No…
import wixLocation from ‘wix-location’;
Use this to replace the first line