diff --git a/src/components/common/ModalDialog/index.tsx b/src/components/common/ModalDialog/index.tsx index 0e8050f2e1..6caeadea2e 100644 --- a/src/components/common/ModalDialog/index.tsx +++ b/src/components/common/ModalDialog/index.tsx @@ -10,15 +10,23 @@ import css from './styles.module.css' interface ModalDialogProps extends DialogProps { dialogTitle?: React.ReactNode hideChainIndicator?: boolean + chainId?: string } interface DialogTitleProps { children: ReactNode onClose?: ModalProps['onClose'] hideChainIndicator?: boolean + chainId?: string } -export const ModalDialogTitle = ({ children, onClose, hideChainIndicator = false, ...other }: DialogTitleProps) => { +export const ModalDialogTitle = ({ + children, + onClose, + hideChainIndicator = false, + chainId, + ...other +}: DialogTitleProps) => { return ( {children} - {!hideChainIndicator && } + {!hideChainIndicator && } {onClose ? ( { const theme = useTheme() @@ -69,7 +78,7 @@ const ModalDialog = ({ onClick={(e) => e.stopPropagation()} > {dialogTitle && ( - + {dialogTitle} )} diff --git a/src/components/sidebar/SafeListRemoveDialog/index.tsx b/src/components/sidebar/SafeListRemoveDialog/index.tsx index 53ca700c8b..ce7fd52742 100644 --- a/src/components/sidebar/SafeListRemoveDialog/index.tsx +++ b/src/components/sidebar/SafeListRemoveDialog/index.tsx @@ -37,7 +37,7 @@ const SafeListRemoveDialog = ({ } return ( - + Are you sure you want to remove the {safe} account?