fix(validator-and-panel-wrapper) : replace links to manage validator
This commit is contained in:
parent
2bd20ddd5a
commit
b66e5e3763
|
@ -44,7 +44,7 @@ const ValidatorNameAddress = ({
|
||||||
<XStack space={'$1'} alignItems="center" cursor="pointer">
|
<XStack space={'$1'} alignItems="center" cursor="pointer">
|
||||||
<Text size={13} weight={'semibold'}>
|
<Text size={13} weight={'semibold'}>
|
||||||
<Link
|
<Link
|
||||||
to={`${PATHS.MANAGE_VALIDATOR}/${name}`}
|
to={`${PATHS.VALIDATOR_MANAGEMENT}/${name}`}
|
||||||
style={{ color: 'black' }}
|
style={{ color: 'black' }}
|
||||||
>
|
>
|
||||||
Validator {name}
|
Validator {name}
|
||||||
|
|
|
@ -20,7 +20,7 @@ const PanelWrapper = ({ children, title }: PanelWrapperProps) => {
|
||||||
|
|
||||||
const closeModal = () => {
|
const closeModal = () => {
|
||||||
setIsModalOpen(false)
|
setIsModalOpen(false)
|
||||||
navigate(`${PATHS.MANAGE_VALIDATOR}/${validatorName}`)
|
navigate(`${PATHS.VALIDATOR_MANAGEMENT}/${validatorName}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue