We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0089b3e commit 0f4fab0Copy full SHA for 0f4fab0
1 file changed
src/pages/Home/Home.tsx
@@ -25,6 +25,7 @@ import {
25
import { useGitHubAuth } from "../../hooks/useGitHubAuth";
26
import { useGitHubData } from "../../hooks/useGitHubData";
27
import { usePagination } from "../../hooks/usePagination";
28
+import toast from "react-hot-toast";
29
30
const ROWS_PER_PAGE = 10;
31
@@ -86,6 +87,7 @@ const Home: React.FC = () => {
86
87
const generateSharableLink = () => {
88
const link = `${window.location.origin}/prs/${username}`;
89
window.navigator.clipboard.writeText(link);
90
+ toast.success("link copied to the clipboard");
91
};
92
93
// Filter data based on selected criteria
0 commit comments