feat: remove mandatory value from activation card

This commit is contained in:
RadoslavDimchev 2023-08-30 15:50:40 +03:00
parent 2c11fd2bc3
commit c349c56ee2
3 changed files with 1 additions and 4 deletions

View File

@ -53,7 +53,6 @@ const Activation = () => {
<ActivationCard text="Validators" value="4" />
<ActivationCard
text="Execution Sync Status"
value=""
isGaugeIncluded={true}
gaugeColor={'#2a4af5'}
gaugeSynced={123.524}
@ -61,7 +60,6 @@ const Activation = () => {
/>
<ActivationCard
text="Execution Sync Status"
value=""
isGaugeIncluded={true}
gaugeColor={'#EB5757'}
gaugeSynced={123.524}

View File

@ -77,6 +77,5 @@ export const WithoutTitle: Story = {
export const WithoutValue: Story = {
args: {
text: 'Title',
value: '',
},
}

View File

@ -4,7 +4,7 @@ import ActivationSyncCard from './ActivationSyncCard'
type ActivationCardProps = {
text: string
value: string
value?: string
isGaugeIncluded?: boolean
gaugeColor?: string
gaugeSynced?: number