const workspace = getLatestWorkspace();
console.log({ workspace });
// routes are from the nextjs-safe-navigation by lukemorales
if (done.success) {
redirect(routes.dashboard({ slug: workspace ?? "" })); // why is the final url is something like /%5Bobject%20Promise%5D ??????!!!
}