Skip to content

Commit

Permalink
fix le status failed
Browse files Browse the repository at this point in the history
  • Loading branch information
JaunePomme committed Sep 27, 2024
1 parent f3fd969 commit b0679c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/features/transfer/TransfersDetailsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,7 @@ export function TransfersDetailsModal({
<div className="py-4 flex flex-col justify-center items-center">
<Spinner />
<div
className={`mt-5 text-sm text-center ${
status === TransferStatus.Failed ? 'text-red-600' : 'text-gray-600'
}`}
className={`mt-5 text-sm text-center ${isFailed ? 'text-red-600' : 'text-gray-600'}`}
>
{statusDescription}
</div>
Expand Down

0 comments on commit b0679c2

Please sign in to comment.