fix: minor bugs and route errors

This commit is contained in:
Siddhant Rai
2025-05-27 13:50:13 +05:30
parent e2f6c04406
commit b7a6bad7cd
4 changed files with 17 additions and 5 deletions

View File

@@ -0,0 +1,7 @@
import { Navigate, useParams } from 'react-router-dom';
export default function SharedAgentGate() {
const { agentId } = useParams();
return <Navigate to={`/agents/shared/${agentId}`} replace />;
}