Skip to content

Commit

Permalink
re-enable adjudicate button
Browse files Browse the repository at this point in the history
  • Loading branch information
andykawabata committed Jul 30, 2024
1 parent 5874832 commit 30f41c4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion frontend/src/components/DataCard/DataCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ const formatDataForCard = (item, page) => {
labelID: item.labelID,
text: item.data,
metadata: item.metadata,
irr_ind: item.irr_ind,
};
case PAGES.SKEW:
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const DataCardAdjudicateButton = ({ cardData, fn }) => {
const [isOpen, setIsOpen] = useState(false);
const [message, setMessage] = useState("");

if (cardData.irr_ind) return null;
const handleSkip = (event) => {
event.preventDefault();
fn({ ...cardData, oldLabelID: cardData.labelID, message });
Expand Down

0 comments on commit 30f41c4

Please sign in to comment.