Fix warning
This commit is contained in:
parent
99214f3389
commit
d663fd9869
|
@ -3,10 +3,13 @@ import { useState } from 'react'
|
||||||
import { Stack, XStack, YStack } from 'tamagui'
|
import { Stack, XStack, YStack } from 'tamagui'
|
||||||
import AdvisoriesContent from './AdvisoriesContent'
|
import AdvisoriesContent from './AdvisoriesContent'
|
||||||
|
|
||||||
const Advicsories = () => {
|
type AdvisoryTopicsType = {
|
||||||
const [selectedTitle, setSelectedTitle] = useState('Bad Behaviour')
|
[key: string]: string
|
||||||
|
}
|
||||||
|
|
||||||
const advisoryTopics = {
|
const unicodeNumbers = ['➀', '➁', '➂', '➃', '➄', '➅']
|
||||||
|
|
||||||
|
const advisoryTopics: AdvisoryTopicsType = {
|
||||||
'Proof of Stake': 'This is content for Proof of Stake...',
|
'Proof of Stake': 'This is content for Proof of Stake...',
|
||||||
Deposit: 'This is content for Deposit...',
|
Deposit: 'This is content for Deposit...',
|
||||||
'Key Management': 'This is content for Key Management...',
|
'Key Management': 'This is content for Key Management...',
|
||||||
|
@ -14,8 +17,10 @@ const Advicsories = () => {
|
||||||
'If you try to cheat the system, or act contrary to the specification, you will be liable to incur a penalty known as slashing*. Running your validator keys simultaneously on two or more machines will result in slashing.* Simply being offline with an otherwise healthy network does not result in slashing, but will result in small inactivity penalties.',
|
'If you try to cheat the system, or act contrary to the specification, you will be liable to incur a penalty known as slashing*. Running your validator keys simultaneously on two or more machines will result in slashing.* Simply being offline with an otherwise healthy network does not result in slashing, but will result in small inactivity penalties.',
|
||||||
Requirements: 'This is content for Requirements...',
|
Requirements: 'This is content for Requirements...',
|
||||||
Risks: 'This is content for Risks...',
|
Risks: 'This is content for Risks...',
|
||||||
}
|
}
|
||||||
const unicodeNumbers = ['➀', '➁', '➂', '➃', '➄', '➅']
|
|
||||||
|
const Advicsories = () => {
|
||||||
|
const [selectedTitle, setSelectedTitle] = useState('Bad Behaviour')
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Shadow
|
<Shadow
|
||||||
|
|
Loading…
Reference in New Issue