import { Navigate, useParams } from 'react-router-dom';

export default function CollectionPage() {
  const { projectId } = useParams();
  return <Navigate to={`/projects/${projectId}`} replace />;
}
