From 2ef1ac452fe9f16d4331ad874d3f1fdf7ca9bdce Mon Sep 17 00:00:00 2001 From: fmtabbara Date: Tue, 11 Jan 2022 18:11:46 +0000 Subject: [PATCH] fix bug - send from address not showing --- nym-wallet/src/pages/send/SendReview.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/nym-wallet/src/pages/send/SendReview.tsx b/nym-wallet/src/pages/send/SendReview.tsx index 5a96e40a01..8abb299a53 100644 --- a/nym-wallet/src/pages/send/SendReview.tsx +++ b/nym-wallet/src/pages/send/SendReview.tsx @@ -1,10 +1,11 @@ -import React from 'react' +import React, { useContext } from 'react' import { Card, Divider, Grid, Typography } from '@mui/material' import { useFormContext } from 'react-hook-form' -import { MAJOR_CURRENCY } from '../../context/main' +import { ClientContext, MAJOR_CURRENCY } from '../../context/main' export const SendReview = ({ transferFee }: { transferFee?: string }) => { const { getValues } = useFormContext() + const { clientDetails } = useContext(ClientContext) const values = getValues() @@ -21,7 +22,7 @@ export const SendReview = ({ transferFee }: { transferFee?: string }) => { > - + @@ -33,7 +34,7 @@ export const SendReview = ({ transferFee }: { transferFee?: string }) => { - +