mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-30 17:13:15 +00:00
8 lines
203 B
TypeScript
8 lines
203 B
TypeScript
import { Navigate, useParams } from 'react-router-dom';
|
|
|
|
export default function SharedAgentGate() {
|
|
const { agentId } = useParams();
|
|
|
|
return <Navigate to={`/agents/shared/${agentId}`} replace />;
|
|
}
|