Skip to content

Commit

Permalink
remove more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
danielevalverde committed Jan 13, 2025
1 parent 3fd0fb3 commit 661a170
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/app/components/media/MediaOrigin.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import Tipline from '../../icons/question_answer.svg';
import Tooltip from '../cds/alerts-and-prompts/Tooltip';
import CheckMediaOrigin from '../../CheckMediaOrigin';

const allowedTypes = new Set([0, 1, 2, 3, 4]);

const getIconAndMessage = (type, user) => {
switch (type) {
case CheckMediaOrigin.TIPLINE_SUBMITTED:
Expand Down Expand Up @@ -117,10 +115,6 @@ const getIconAndMessage = (type, user) => {
};

const MediaOrigin = ({ type, user }) => {
if (!allowedTypes.has(type)) {
return null;
}

const { icon, message, tooltipMessage } = getIconAndMessage(type, user);

return (
Expand Down

0 comments on commit 661a170

Please sign in to comment.