'use client';

import { useEffect } from 'react';
import { useRouter, useParams } from '@/framework/navigation';

export default function CompanyPage() {
  const router = useRouter();
  const { lang } = useParams();

  useEffect(() => {
    router.replace(`/${lang}/company/candidates`);
  }, [router, lang]);

  return null;
}
