import { Navigate, useParams } from 'react-router-dom'; export default function SharedAgentGate() { const { agentId } = useParams(); return ; }