I added a logout button to my website. But for some reason, it is not working. Here is my code:
The error says "Property 'then' does not exist on type 'void."
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
Ok. I’ll try deleting the code to close the lightbox.
You don't have to close the lightbox after logging out.
The page will refresh anyway.
Just what it means - logout function doesn't return a status.