Skip to content

Commit b3519e1

Browse files
committed
add back shadowDelegate check
1 parent 2665b72 commit b3519e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/migration/components/MigrationBanner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function MigrationBanner(): React.ReactElement | null {
2121
isDelegateV1Contract,
2222
isDelegatedToV1Contract
2323
} = useMigrationStatus();
24-
const showDelegationMigrationBanner = (isDelegateV1Contract) || isDelegatedToV1Contract;
24+
const showDelegationMigrationBanner = (isDelegateV1Contract && !isShadowDelegate) || isDelegatedToV1Contract;
2525

2626
const { variant, href, copy } = getMigrationBannerContent({
2727
isDelegateV1Contract,

0 commit comments

Comments
 (0)