From b2275f4081f77b1e0c5f7dfa6666c6ea53bc66c3 Mon Sep 17 00:00:00 2001 From: Kellar Date: Fri, 26 Apr 2024 13:17:27 +0100 Subject: [PATCH] Prettier --- .../components/Signers/SignersContainer.tsx | 4 +- .../Signers/modals/AddSignerModal.tsx | 67 +++++++------------ .../Signers/modals/RemoveSignerModal.tsx | 4 +- 3 files changed, 28 insertions(+), 47 deletions(-) diff --git a/src/components/pages/DaoSettings/components/Signers/SignersContainer.tsx b/src/components/pages/DaoSettings/components/Signers/SignersContainer.tsx index 3e9329c6c5..27832c6b9c 100644 --- a/src/components/pages/DaoSettings/components/Signers/SignersContainer.tsx +++ b/src/components/pages/DaoSettings/components/Signers/SignersContainer.tsx @@ -113,9 +113,7 @@ export function SignersContainer() { } descriptionHeader={ - - {t('signersRequired', { ns: 'common' })} - + {t('signersRequired', { ns: 'common' })} {`${safe?.threshold}/${safe?.owners.length}`} } diff --git a/src/components/pages/DaoSettings/components/Signers/modals/AddSignerModal.tsx b/src/components/pages/DaoSettings/components/Signers/modals/AddSignerModal.tsx index e5c54dd6c0..1796fc8229 100644 --- a/src/components/pages/DaoSettings/components/Signers/modals/AddSignerModal.tsx +++ b/src/components/pages/DaoSettings/components/Signers/modals/AddSignerModal.tsx @@ -1,12 +1,4 @@ -import { - Box, - Button, - Flex, - HStack, - Select, - Text, - Icon, -} from '@chakra-ui/react'; +import { Box, Button, Flex, HStack, Select, Text, Icon } from '@chakra-ui/react'; import { LabelWrapper } from '@decent-org/fractal-ui'; import { WarningCircle } from '@phosphor-icons/react'; import { Field, FieldAttributes, Formik } from 'formik'; @@ -102,12 +94,7 @@ function AddSignerModal({ mb={4} /> - - {t('updateThreshold', { ns: 'modals' })} - + {t('updateThreshold', { ns: 'modals' })} - - - - - - {t('updateSignerWarning', { ns: 'modals' })} - - + + + + {t('updateSignerWarning', { ns: 'modals' })} + + - - {t('updateThreshold', { ns: 'modals' })} - + {t('updateThreshold', { ns: 'modals' })}