log out button corvid code error please help me!

the code:

function button9_click(event) {
import wixUsers from 'wix-users'; 
 import wixLocation from 'wix-location';

    $w.onReady(function () {
 
    });

    xport

 function button9_click() {
        wixLocation.to("/home")
        wixUsers.logout();
    }

the part import wixUsers from ‘wix-users’; isnt correct… but how to fix it?
code source:
https://support.totallycodable.com/en/article/create-log-out-button-with-redirect-to-another-page-using-wix-code

  1. You can’t put import inside a function. The import lines have to be at the very top of the code panel.

  2. What is “xport”?

  3. In order to make redirection and logout together, you have to wrap them inside Promise.all()

  • you’re missing a closing curly bracket } in the first onClick() function (which you should completely delete by the way).

Sorry, but i dont know what what is becouse i cant programming

https://www.wix.com/corvid/forum/community-discussion/this-is-how-to-logout-and-go-to-the-page-of-your-choice

https://support.totallycodable.com/en/article/create-log-out-button-with-redirect-to-another-page-using-wix-code