Skip to content

Commit

Permalink
fix: build errors
Browse files Browse the repository at this point in the history
Signed-off-by: Akiff Manji <[email protected]>
  • Loading branch information
amanji committed Mar 13, 2023
1 parent fedc88b commit 47c7569
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions app/src/components/AddCredentialSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bifold

0 comments on commit 47c7569

Please sign in to comment.