diff --git a/src/pages/ManageValidator/RightManagePanels/PanelContent.tsx b/src/pages/ManageValidator/RightManagePanels/PanelContent.tsx
index 14231d8f..878280fb 100644
--- a/src/pages/ManageValidator/RightManagePanels/PanelContent.tsx
+++ b/src/pages/ManageValidator/RightManagePanels/PanelContent.tsx
@@ -5,21 +5,29 @@ import { XStack, YStack } from 'tamagui'
type PanelContentProps = {
children: React.ReactNode
title: string
- closeModal: () => void
+ closeModal?: () => void
+ isModalWidth?: boolean
}
-const PanelContent = ({ children, title, closeModal }: PanelContentProps) => {
+const PanelContent = ({
+ children,
+ title,
+ closeModal,
+ isModalWidth,
+}: PanelContentProps) => {
return (
{title}
-
+ {isModalWidth && (
+
+ )}
{children}
diff --git a/src/pages/ManageValidator/RightManagePanels/PanelWrapper.tsx b/src/pages/ManageValidator/RightManagePanels/PanelWrapper.tsx
index d97a3a86..d16547eb 100644
--- a/src/pages/ManageValidator/RightManagePanels/PanelWrapper.tsx
+++ b/src/pages/ManageValidator/RightManagePanels/PanelWrapper.tsx
@@ -42,16 +42,16 @@ const PanelWrapper = ({ children, title }: PanelWrapperProps) => {
},
}}
>
-
+
{children}
) : (
-
+ {children}
)}
>
)