From 47c75693b7691d2669b4b5a1eb8df82ef6eb2742 Mon Sep 17 00:00:00 2001 From: Akiff Manji Date: Mon, 13 Mar 2023 15:41:19 -0700 Subject: [PATCH] fix: build errors Signed-off-by: Akiff Manji --- app/src/components/AddCredentialSlider.tsx | 9 --------- bifold | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/app/src/components/AddCredentialSlider.tsx b/app/src/components/AddCredentialSlider.tsx index 8ce099df9..24925b60a 100644 --- a/app/src/components/AddCredentialSlider.tsx +++ b/app/src/components/AddCredentialSlider.tsx @@ -87,15 +87,6 @@ const AddCredentialSlider: React.FC = () => { startFlow(agent!, store, setWorkflowInProgress, t, (connectionId) => setWorkflowConnectionId(connectionId)) }, [store]) - useEffect(() => { - for (const credential of offers) { - if (credential.state == CredentialState.OfferReceived && credential.connectionId === workflowConnectionId) { - goToHomeScreen(credential.id) - deactivateSlider() - } - } - }, [offers, workflowConnectionId]) - useEffect(() => { const credentialDefinitionIDs = credentials.map( (c) => c.metadata.data[CredentialMetadataKeys.IndyCredential].credentialDefinitionId as string diff --git a/bifold b/bifold index 709952219..7c09dd757 160000 --- a/bifold +++ b/bifold @@ -1 +1 @@ -Subproject commit 709952219d532033d69effa6315705dc4a67c89f +Subproject commit 7c09dd757c3c7f04e0d937f82fc1cf8cd512b4dc