Fix warning

This commit is contained in:
Hristo Nedelkov 2023-08-24 16:19:45 +03:00
parent 99214f3389
commit d663fd9869
1 changed files with 16 additions and 11 deletions

View File

@ -3,10 +3,13 @@ import { useState } from 'react'
import { Stack, XStack, YStack } from 'tamagui'
import AdvisoriesContent from './AdvisoriesContent'
const Advicsories = () => {
const [selectedTitle, setSelectedTitle] = useState('Bad Behaviour')
type AdvisoryTopicsType = {
[key: string]: string
}
const advisoryTopics = {
const unicodeNumbers = ['➀', '➁', '➂', '➃', '➄', '➅']
const advisoryTopics: AdvisoryTopicsType = {
'Proof of Stake': 'This is content for Proof of Stake...',
Deposit: 'This is content for Deposit...',
'Key Management': 'This is content for Key Management...',
@ -15,7 +18,9 @@ const Advicsories = () => {
Requirements: 'This is content for Requirements...',
Risks: 'This is content for Risks...',
}
const unicodeNumbers = ['➀', '➁', '➂', '➃', '➄', '➅']
const Advicsories = () => {
const [selectedTitle, setSelectedTitle] = useState('Bad Behaviour')
return (
<>
<Shadow