At the moment, the workaround I found is to not use:
import { redirect } from 'next/navigation';
But to use instead:
import { useRouter } from 'next/navigation'
const router = useRouter()
router.push("/")
At the moment, the workaround I found is to not use:
import { redirect } from 'next/navigation';
But to use instead:
import { useRouter } from 'next/navigation'
const router = useRouter()
router.push("/")