diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/instant/src/components/instant_heading.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/components/instant_heading.tsx b/packages/instant/src/components/instant_heading.tsx index 99e531574..5b1f9592d 100644 --- a/packages/instant/src/components/instant_heading.tsx +++ b/packages/instant/src/components/instant_heading.tsx @@ -119,7 +119,7 @@ export class InstantHeading extends React.Component<InstantHeadingProps, {}> { <AmountPlaceholder isPulsating={false} color={PLACEHOLDER_COLOR} />, ); - const fontSize = typeof ethAmount === 'string' && ethAmount.length >= 13 ? '14px' : '16px'; + const fontSize = _.isString(ethAmount) && ethAmount.length >= 13 ? '14px' : '16px'; return ( <Text fontSize={fontSize} |