With the help of above comments, I ended up doing:
export default AdminContainer() {
const router = useRouter();
useEffect(()=>{
router.push('/admin/pending')
}, [router]);
return null;
}
Any other approach and suggestions are welcome.