From 24b9abbddf048349c60e25e4210d7bf2a511144b Mon Sep 17 00:00:00 2001 From: Abishek Das Date: Wed, 11 Dec 2024 16:20:27 +0530 Subject: [PATCH] chore: Remove unused ReviewerLink component and related code - Deleted the unused ReviewerLink component. - Removed the commented-out reference to ReviewerLink in the AssignmentsLinks component. --- .../common/AssignmentLinks/AssignmentLinks.jsx | 1 - .../common/AssignmentLinks/ReviewerLink.jsx | 18 ------------------ 2 files changed, 19 deletions(-) delete mode 100644 app/assets/javascripts/components/common/AssignmentLinks/ReviewerLink.jsx diff --git a/app/assets/javascripts/components/common/AssignmentLinks/AssignmentLinks.jsx b/app/assets/javascripts/components/common/AssignmentLinks/AssignmentLinks.jsx index 954dd0bb50..347ec36c42 100644 --- a/app/assets/javascripts/components/common/AssignmentLinks/AssignmentLinks.jsx +++ b/app/assets/javascripts/components/common/AssignmentLinks/AssignmentLinks.jsx @@ -70,7 +70,6 @@ const AssignmentLinks = ({ assignment, courseType, user, course, project, editMo reviewers = ; } - // const reviewers = ; const links = actions.reduce(interleaveSeparators, []); return ( diff --git a/app/assets/javascripts/components/common/AssignmentLinks/ReviewerLink.jsx b/app/assets/javascripts/components/common/AssignmentLinks/ReviewerLink.jsx deleted file mode 100644 index 12df4de691..0000000000 --- a/app/assets/javascripts/components/common/AssignmentLinks/ReviewerLink.jsx +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; -import PropTypes from 'prop-types'; - -// components -import AssignedToLink from '@components/overview/my_articles/common/AssignedToLink.jsx'; - -export const ReviewerLink = ({ reviewers }) => { - return ; -}; - -ReviewerLink.propTypes = { - // props - reviewers: PropTypes.arrayOf( - PropTypes.string - ), -}; - -export default ReviewerLink;