Skip to content

Commit

Permalink
🆎 Google translate v2 (#4707)
Browse files Browse the repository at this point in the history
* Login modal

* Action bar
  • Loading branch information
WRadoslaw authored Aug 21, 2023
1 parent 0b224a7 commit 438fc20
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/atlas/src/components/Fee/Fee.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const Fee: FC<FeeProps> = ({
{(!hideOnMobile || smMatch) && (
<>
<Text as="span" variant={variant} color={color}>
Fee:&nbsp;{feeNumber < 0.01 && feeNumber !== 0 && '<'}&nbsp;
Fee:&nbsp;{feeNumber < 0.01 && feeNumber !== 0 && <span>{'<'}</span>}&nbsp;
</Text>
<NumberFormat
withToken={withToken}
Expand Down
6 changes: 3 additions & 3 deletions packages/atlas/src/components/NumberFormat/NumberFormat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const NumberFormat = forwardRef<HTMLHeadingElement, NumberFormatProps>(
ref={denominationRef}
>
({formattedDenominatedValue !== '<$0.01' ? <span>$</span> : null}
{formattedDenominatedValue}){' '}
<span>{formattedDenominatedValue}</span>){' '}
</Text>
)}
<StyledText
Expand All @@ -115,7 +115,7 @@ export const NumberFormat = forwardRef<HTMLHeadingElement, NumberFormatProps>(
>
{' '}
({formattedDenominatedValue !== '<$0.01' ? <span>$</span> : null}
{formattedDenominatedValue}){' '}
<span>{formattedDenominatedValue}</span>){' '}
</Text>
)}
</ContentContainer>
Expand Down Expand Up @@ -143,7 +143,7 @@ export const NumberFormat = forwardRef<HTMLHeadingElement, NumberFormatProps>(
ref={denominationRef}
>
{formattedDenominatedValue !== '<$0.01' ? <span>$</span> : null}
{formattedDenominatedValue}
<span>{formattedDenominatedValue}</span>
</Denomination>
)}
</Container>
Expand Down
4 changes: 2 additions & 2 deletions packages/atlas/src/components/_auth/LogInModal/LogInModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ export const LogInModal = () => {
<AuthenticationModalStepTemplate
title="Sign in"
subtitle={
<>
<span>
Use your {atlasConfig.general.appName} account.{' '}
<TextButton onClick={() => setAuthModalOpenName('signUp')}>Create account</TextButton>
</>
</span>
}
hasNavigatedBack
>
Expand Down

0 comments on commit 438fc20

Please sign in to comment.