Skip to content

Commit

Permalink
Hidden consumer delegation availability (#1039)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinaCampoli authored and ruggerocastagnola committed Dec 13, 2024
1 parent c5362f0 commit 67451fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ export const DelegationAvailabilityDrawer: React.FC<DelegationAvailabilityDrawer
>
<Stack spacing={4}>
<Box>
<SectionContainer innerSection>
<SectionContainer
innerSection
sx={{ display: 'none', visibility: 'hidden' }} // TEMP needed to hide consumer delegation availability
>
<Stack spacing={2}>
<Typography sx={{ fontWeight: 700 }}>{t('consumeDelegation.label')}</Typography>
<Typography>{t('consumeDelegation.infoLabel')}</Typography>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,12 @@ export const DelegationsAvailabilityTab: React.FC = () => {
label={t('consumeDelegation.label')}
labelDescription={t('consumeDelegation.infoLabel')}
content={t(`consumeDelegation.value.${isAvailableConsumerDelegations}`)}
sx={{ display: 'none', visibility: 'hidden' }} //TEMP needed to hide consumer delegation availability
/>
<InformationContainer
label={t('produceDelegation.label')}
labelDescription={t('produceDelegation.infoLabel')}
content={t(`consumeDelegation.value.${isAvailableProducerDelegations}`)}
content={t(`produceDelegation.value.${isAvailableProducerDelegations}`)}
/>
</Stack>
</SectionContainer>
Expand Down

0 comments on commit 67451fb

Please sign in to comment.