Skip to content

Commit

Permalink
feat: display Edit button always in the same color
Browse files Browse the repository at this point in the history
  • Loading branch information
Pinx0 committed Nov 7, 2024
1 parent a5388e8 commit bb67de5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/SolicitudCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,7 @@ export default function SolicitudCard({ caso, towns, showLink = true, showEdit =
{canEdit && showEdit && (
<Link
href={'/solicitudes/editar/' + caso.id}
className={`w-full rounded-xl text-center px-4 py-2 font-semibold text-white sm:w-auto ${
caso.urgency === 'alta' ? 'bg-red-500' : caso.urgency === 'media' ? 'bg-yellow-500' : 'bg-green-500'
}`}
className={`w-full rounded-xl text-center px-4 py-2 font-semibold text-white sm:w-auto bg-red-500`}
>
Editar
</Link>
Expand Down

0 comments on commit bb67de5

Please sign in to comment.