Disabling redirect email.signin if callbackURL set to null

I'm integrating better-auth into my pwa spa vite react app any tips on how to disabled redirect on email.signin default behavior is to redirect to root route (I can easily change redirect location using the callbackURL option in email.signin func, default value "/" root route, can't set it to null either ) causing a full page reload (which takes time) kinda defeats the purpose of using a spa to build, I want to handle redirects with my tan-stack router (doesn't reload the whole page)
Was this page helpful?