Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🆎 Google translate v2 #4707

Merged
merged 2 commits into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading