Skip to content

Commit

Permalink
Fix: do not show unsupported contract warning if upgrading contract
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Dec 30, 2024
1 parent a6e3246 commit 2e3775e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const UnknownContractError = ({ txData }: { txData: TransactionData | undefined
// Unsupported base contract
const isUnknown = !isValidMasterCopy(safe.implementationVersionState)

if (!isUnknown || !newMasterCopy) return null
if (!isUnknown || !!newMasterCopy) return null

return (
<ErrorMessage>
Expand Down

0 comments on commit 2e3775e

Please sign in to comment.