I am implementing in Clojurescript (re-frame) code that looks like this:
const login = async () => {
await auth0Client.loginWithRedirect({
authorizationParams: {
redirect_uri: window.location.origin
}
});
};
But I am not sure how best to translate the async and the await commands. Any suggestions?