Fix array length rendering literal 0 in CreateNewCampaignModal.

This commit is contained in:
Gan Eng Chin 2023-03-08 02:57:02 +08:00
parent e653a4ca15
commit 97ed1d2a7d
No known key found for this signature in database
GPG Key ID: 94D5D972860ADB01
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ export const CreateNewCampaignModal = ( props: CreateCampaignModalProps ) => {
} ) }
</div>
</div>
{ recommendedChannels?.length && (
{ !! recommendedChannels?.length && (
<div className="woocommerce-marketing-add-channels">
<Flex direction="column">
<FlexItem>