Skip to content

Commit

Permalink
fix: dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
iamacook committed Jul 31, 2023
1 parent d87fdfb commit cf1faf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/safe-apps/AppFrame/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const AppFrame = ({ appUrl, allowedFeaturesList }: AppFrameProps): ReactElement
})

return unsubscribe
}, [appName, chainId, communicator, currentRequestId, setTxFlow])
}, [appName, chainId, communicator, currentRequestId])

useEffect(() => {
const unsubscribe = safeMsgSubscribe(SafeMsgEvent.SIGNATURE_PREPARED, ({ messageHash, requestId, signature }) => {
Expand All @@ -274,7 +274,7 @@ const AppFrame = ({ appUrl, allowedFeaturesList }: AppFrameProps): ReactElement
})

return unsubscribe
}, [communicator, currentRequestId, setTxFlow])
}, [communicator, currentRequestId])

if (!safeLoaded) {
return <div />
Expand Down

0 comments on commit cf1faf9

Please sign in to comment.