mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-12 19:36:35 +00:00
fix(card-and-dropdown): remove icon and type
This commit is contained in:
parent
dece33f33e
commit
396504a474
@ -3,11 +3,10 @@ import { Stack, YStack } from 'tamagui'
|
||||
import { AdvancedIcon } from '@status-im/icons'
|
||||
import { Link } from 'react-router-dom'
|
||||
|
||||
import { CardTitle } from './ValidatorSettingCard'
|
||||
import { VALIDATOR_SETTING_ADVANCED_OPTIONS } from '../../../../constants'
|
||||
|
||||
type AdvancedDropdownMenuProps = {
|
||||
title: CardTitle
|
||||
title: string
|
||||
}
|
||||
|
||||
const AdvancedDropdownMenu = ({ title }: AdvancedDropdownMenuProps) => {
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { Text } from '@status-im/components'
|
||||
import { DisconnectIcon, AdvancedIcon, ExternalIcon } from '@status-im/icons'
|
||||
import { DisconnectIcon, ExternalIcon } from '@status-im/icons'
|
||||
import { Stack, YStack } from 'tamagui'
|
||||
|
||||
import { VALIDATOR_SETTINGS_CARDS_TITLES } from '../../../../constants'
|
||||
|
||||
export type CardTitle = (typeof VALIDATOR_SETTINGS_CARDS_TITLES)[number]
|
||||
type CardTitle = (typeof VALIDATOR_SETTINGS_CARDS_TITLES)[number]
|
||||
|
||||
type ValidatorSettingCardProps = {
|
||||
title: CardTitle
|
||||
@ -14,7 +14,6 @@ const ValidatorSettingCard = ({ title }: ValidatorSettingCardProps) => {
|
||||
const getIcon = {
|
||||
Exit: <DisconnectIcon size={20} />,
|
||||
Migrate: <ExternalIcon size={20} />,
|
||||
Advanced: <AdvancedIcon size={20} />,
|
||||
}
|
||||
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user