mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-12-01 09:33:14 +00:00
fix: minor bugs and route errors
This commit is contained in:
7
frontend/src/agents/SharedAgentGate.tsx
Normal file
7
frontend/src/agents/SharedAgentGate.tsx
Normal 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 />;
|
||||
}
|
||||
Reference in New Issue
Block a user