Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
DarksightKellar committed Apr 26, 2024
1 parent 781a7a8 commit b2275f4
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ export function SignersContainer() {
}
descriptionHeader={
<Flex justifyContent="space-between">
<Text>
{t('signersRequired', { ns: 'common' })}
</Text>
<Text>{t('signersRequired', { ns: 'common' })}</Text>
<Text>{`${safe?.threshold}/${safe?.owners.length}`}</Text>
</Flex>
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -102,12 +94,7 @@ function AddSignerModal({
mb={4}
/>
<HStack>
<Text
textStyle="text-base-sans-regular"
color="grayscale.100"
>
{t('updateThreshold', { ns: 'modals' })}
</Text>
<Text>{t('updateThreshold', { ns: 'modals' })}</Text>
<Flex ref={tooltipContainer}>
<SupportTooltip
containerRef={tooltipContainer}
Expand Down Expand Up @@ -147,33 +134,31 @@ function AddSignerModal({
)}`}</Text>
</Flex>
</HStack>


<Flex
w="fit-full"
mt={6}
p="1rem"
border="1px"
borderColor="yellow--1"
bg="yellow--2"
borderRadius="0.25rem"
alignItems="center"
gap="1rem"
>
<Icon
color="yellow-0"
as={WarningCircle}
boxSize="1.5rem"
/>
<Text
color="yellow-0"
textStyle="body-base-strong"
whiteSpace="pre-wrap"
>
{t('updateSignerWarning', { ns: 'modals' })}
</Text>
</Flex>

<Flex
w="fit-full"
mt={6}
p="1rem"
border="1px"
borderColor="yellow--1"
bg="yellow--2"
borderRadius="0.25rem"
alignItems="center"
gap="1rem"
>
<Icon
color="yellow-0"
as={WarningCircle}
boxSize="1.5rem"
/>
<Text
color="yellow-0"
textStyle="body-base-strong"
whiteSpace="pre-wrap"
>
{t('updateSignerWarning', { ns: 'modals' })}
</Text>
</Flex>

<Divider my={6} />
<CustomNonceInput
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ function RemoveSignerModal({
mb={4}
/>
<HStack>
<Text>
{t('updateThreshold', { ns: 'modals' })}
</Text>
<Text>{t('updateThreshold', { ns: 'modals' })}</Text>
<Flex ref={tooltipContainer}>
<SupportTooltip
containerRef={tooltipContainer}
Expand Down

0 comments on commit b2275f4

Please sign in to comment.