diff --git a/src/components/TransactionInformationsItem.tsx b/src/components/TransactionInformationsItem.tsx
index 3decaa6..34af496 100644
--- a/src/components/TransactionInformationsItem.tsx
+++ b/src/components/TransactionInformationsItem.tsx
@@ -51,30 +51,12 @@ const TransactionInformationsItem = ({ paymentType, reference, date, amount, sta
const AmountColorRenderer = ({ status, amount }: { status: string; amount: number }) => {
if (status === "SUCCESS") {
- return (
-
-
- {amount}
-
-
- );
+ return {amount};
}
if (status === "INITIATED") {
- return (
-
-
- {amount}
-
-
- );
+ return {amount};
}
- return (
-
-
- {amount}
-
-
- );
+ return {amount};
};
const AmountWrapper = ({
@@ -82,8 +64,10 @@ const AmountWrapper = ({
children,
}: { color: "secondary" | "softYellow" | "softRed"; children: React.ReactNode }) => {
return (
-
- {children}
+
+
+ {children} F
+
);
};