Skip to content

Commit

Permalink
Made changes to improve maintainibily rating
Browse files Browse the repository at this point in the history
  • Loading branch information
asmigarg04 committed Jan 10, 2025
1 parent c001177 commit c7b92c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/projectCard/priorityBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { FormattedMessage } from 'react-intl';
import messages from './messages';
import { ClockIcon } from '../svgIcons';

export function PriorityBox({ priority, extraClasses, showIcon }) {
export function PriorityBox({ priority, extraClasses, showIcon }: Object) {
let color = 'blue-grey b--blue-grey';
if (priority === 'URGENT') color = 'red b--red';
if (priority === 'HIGH') color = 'orange b--orange';
Expand Down

0 comments on commit c7b92c0

Please sign in to comment.