Skip to content

Commit

Permalink
feat: don't render the older custom receive input when the flag is on
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre committed Jan 24, 2024
1 parent 0e384f5 commit 9e440d6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,10 @@ export const ManualAddressEntry: FC = memo((): JSX.Element | null => {
translate,
])

// TODO(gomes): remove this component altogether when removing this flag
const isHolisticRecipientAddressEnabled = useFeatureFlag('HolisticRecipientAddress')

if (isHolisticRecipientAddressEnabled) return null

return shouldShowManualReceiveAddressInput ? ManualReceiveAddressEntry : null
})

0 comments on commit 9e440d6

Please sign in to comment.