From 3bb2991f72f4c27b572f0cf65cc31e5394516e78 Mon Sep 17 00:00:00 2001 From: =bhagwanSingh <=bhagwan.r@hicglobalsolutions.com> Date: Mon, 1 Sep 2025 15:42:42 +0530 Subject: [PATCH] Added Settings in Nav --- src/components/CommonNav.tsx | 7 ++++++- src/components/dashboard/SendForSign.tsx | 6 +++--- .../process/processStepTwo/DocumentContainer.tsx | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/components/CommonNav.tsx b/src/components/CommonNav.tsx index c948d83..4053dcb 100644 --- a/src/components/CommonNav.tsx +++ b/src/components/CommonNav.tsx @@ -70,6 +70,11 @@ const CommonNav: React.FC = ({ }, }); + const handleSettingsClick = () => { + setOpen(false); + navigate("/s/settings#profile-info"); + } + const getAccountDetails = async () => { try { let res = await api.get('/api/user/accounts'); @@ -368,7 +373,7 @@ const CommonNav: React.FC = ({
diff --git a/src/components/process/processStepTwo/DocumentContainer.tsx b/src/components/process/processStepTwo/DocumentContainer.tsx index 7522128..1d7409a 100644 --- a/src/components/process/processStepTwo/DocumentContainer.tsx +++ b/src/components/process/processStepTwo/DocumentContainer.tsx @@ -245,7 +245,7 @@ const DocumentContainer: React.FC = ({ transactionSaving let tagsData = groupByRecipientId(updatedTags); await sendTagsToRecipients(tagsData, accountId, transactionId); - return + // return // SENDING Transaction - START if (!save) { const res = await api.put(`/api/accounts/${accountId}/${transactionTemplateToggle}/${transactionId}`, { status: "SENT" })