feat: remove not used components from Advicsories
This commit is contained in:
parent
f63d9c5798
commit
ab17c39a82
|
@ -1,8 +1,7 @@
|
|||
import { Button, Text } from '@status-im/components'
|
||||
import { Text } from '@status-im/components'
|
||||
import { useState } from 'react'
|
||||
import { Stack, XStack, YStack } from 'tamagui'
|
||||
import AdvisoriesContent from './AdvisoriesContent'
|
||||
import ValidatorBoxWrapper from '../ValidatorBoxWrapper/ValidatorBoxWrapper'
|
||||
|
||||
type AdvisoryTopicsType = {
|
||||
[key: string]: string
|
||||
|
@ -24,8 +23,6 @@ const Advicsories = () => {
|
|||
const [selectedTitle, setSelectedTitle] = useState('Bad Behaviour')
|
||||
|
||||
return (
|
||||
<>
|
||||
<ValidatorBoxWrapper>
|
||||
<XStack
|
||||
justifyContent={'space-between'}
|
||||
className="layout-left"
|
||||
|
@ -37,11 +34,7 @@ const Advicsories = () => {
|
|||
<Text size={27}>Advisories</Text>
|
||||
</Stack>
|
||||
{Object.keys(advisoryTopics).map((title, index) => (
|
||||
<Stack
|
||||
key={title}
|
||||
onPress={() => setSelectedTitle(title)}
|
||||
style={{ cursor: 'pointer' }}
|
||||
>
|
||||
<Stack key={title} onPress={() => setSelectedTitle(title)} style={{ cursor: 'pointer' }}>
|
||||
<Text
|
||||
size={15}
|
||||
weight={selectedTitle === title && 'semibold'}
|
||||
|
@ -59,11 +52,6 @@ const Advicsories = () => {
|
|||
></AdvisoriesContent>
|
||||
</YStack>
|
||||
</XStack>
|
||||
</ValidatorBoxWrapper>
|
||||
<Stack style={{ alignItems: 'end', width: '100%', marginTop: '16px' }}>
|
||||
<Button>Continue</Button>
|
||||
</Stack>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue