Skip to content

Commit

Permalink
refactor(frontend): rename 'PraiseRow' to 'QuantifyPraiseRow'
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyg committed Jun 6, 2022
1 parent 98d9e8b commit ae6f6f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface Props {
onDuplicateClick();
}

const PraiseRow = ({
const QuantifyPraiseRow = ({
praise,
periodId,
usePseudonyms,
Expand Down Expand Up @@ -94,4 +94,4 @@ const PraiseRow = ({
);
};

export default PraiseRow;
export default QuantifyPraiseRow;
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -134,9 +134,9 @@ const QuantifyTable = ({ periodId, receiverId }: Props): JSX.Element | null => {
)}

{weeklyData[weekKey].map((praise) => (
<PraiseRow
praise={praise}
<QuantifyPraiseRow
key={praise._id}
praise={praise}
periodId={periodId}
usePseudonyms={usePseudonyms}
allowedValues={allowedValues}
Expand Down

0 comments on commit ae6f6f4

Please sign in to comment.