From ae6f6f4b9c5066cbd802d3e82724f85a7847b215 Mon Sep 17 00:00:00 2001 From: Matt Gabrenya Date: Sun, 5 Jun 2022 22:11:35 -0400 Subject: [PATCH] refactor(frontend): rename 'PraiseRow' to 'QuantifyPraiseRow' --- .../components/{PraiseRow.tsx => QuantifyPraiseRow.tsx} | 4 ++-- .../QuantifyPeriodReceiver/components/QuantifyTable.tsx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) rename packages/frontend/src/pages/QuantifyPeriodReceiver/components/{PraiseRow.tsx => QuantifyPraiseRow.tsx} (97%) diff --git a/packages/frontend/src/pages/QuantifyPeriodReceiver/components/PraiseRow.tsx b/packages/frontend/src/pages/QuantifyPeriodReceiver/components/QuantifyPraiseRow.tsx similarity index 97% rename from packages/frontend/src/pages/QuantifyPeriodReceiver/components/PraiseRow.tsx rename to packages/frontend/src/pages/QuantifyPeriodReceiver/components/QuantifyPraiseRow.tsx index 50da40ecc..c7b619a66 100644 --- a/packages/frontend/src/pages/QuantifyPeriodReceiver/components/PraiseRow.tsx +++ b/packages/frontend/src/pages/QuantifyPeriodReceiver/components/QuantifyPraiseRow.tsx @@ -22,7 +22,7 @@ interface Props { onDuplicateClick(); } -const PraiseRow = ({ +const QuantifyPraiseRow = ({ praise, periodId, usePseudonyms, @@ -94,4 +94,4 @@ const PraiseRow = ({ ); }; -export default PraiseRow; +export default QuantifyPraiseRow; diff --git a/packages/frontend/src/pages/QuantifyPeriodReceiver/components/QuantifyTable.tsx b/packages/frontend/src/pages/QuantifyPeriodReceiver/components/QuantifyTable.tsx index edb6ce4f1..351d23231 100644 --- a/packages/frontend/src/pages/QuantifyPeriodReceiver/components/QuantifyTable.tsx +++ b/packages/frontend/src/pages/QuantifyPeriodReceiver/components/QuantifyTable.tsx @@ -13,7 +13,7 @@ import DuplicateDialog from './DuplicateDialog'; import DuplicateSearchDialog from './DuplicateSearchDialog'; import MarkDuplicateButton from './MarkDuplicateButton'; import MarkDismissedButton from './MarkDismissedButton'; -import PraiseRow from './PraiseRow'; +import QuantifyPraiseRow from './QuantifyPraiseRow'; interface Props { periodId: string; @@ -134,9 +134,9 @@ const QuantifyTable = ({ periodId, receiverId }: Props): JSX.Element | null => { )} {weeklyData[weekKey].map((praise) => ( -