Why isn't returnTo working for logout?

I have the following…

const {isAuthenticated, idTokenClaims, loginWithRedirect, isLoading, logout} = auth0.useAuth0();
const tab = ref('home');
const searchText = ref('');

const onLogout = ()=>{
    returnTo: window.location.origin

But when it logs out it gets returned to https://localhost instead of https://localhost:8080 which is what it was originally on. Here is the logout message…


Why is it not adding it and how do I add it?

I hardcoded as well to confirm it wasn’t an empty object same response…

    client_id: "...",
    returnTo: "https://localhost:8000"

But it still goes back to https://localhost