From 0a9671bddca43e7f62d40666f4666aa44208fe9f Mon Sep 17 00:00:00 2001 From: Ariful Alam Date: Sun, 20 Mar 2022 18:05:48 +0600 Subject: [PATCH] Make the project items openable on right click action --- src/components/project/index.jsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/project/index.jsx b/src/components/project/index.jsx index 49b51aa..53351d1 100644 --- a/src/components/project/index.jsx +++ b/src/components/project/index.jsx @@ -53,10 +53,13 @@ const Project = ({ repo, loading }) => { const renderProjects = () => { return repo.map((item, index) => ( -
{ + onClick={(e) => { + e.preventDefault(); + try { if (config.googleAnalytics?.id) { ga.event({ @@ -119,7 +122,7 @@ const Project = ({ repo, loading }) => {
- + )); };