diff --git a/client/src/module/student/opensource/RepoDiscoveryPage.tsx b/client/src/module/student/opensource/RepoDiscoveryPage.tsx index f1c35e2cc..8b93dbc14 100644 --- a/client/src/module/student/opensource/RepoDiscoveryPage.tsx +++ b/client/src/module/student/opensource/RepoDiscoveryPage.tsx @@ -28,6 +28,7 @@ import api from "../../../lib/axios"; import { useCopyToClipboard } from "../../../hooks/useCopyToClipboard"; import { queryKeys } from "../../../lib/query-keys"; import { SEO } from "../../../components/SEO"; +import toast from "../../../components/ui/toast"; import { canonicalUrl } from "../../../lib/seo.utils"; import { PaginationControls } from "../../../components/ui/PaginationControls"; import type { OpenSourceRepo, Pagination, RepoRequest } from "../../../lib/types"; @@ -206,6 +207,7 @@ export default function RepoDiscoveryPage() { useEffect(() => { if (deepLinkError) { + toast.error("Could not load the linked repository. It may not exist or has been removed."); setSearchParams((prev) => { const params = new URLSearchParams(prev); params.delete("repo");