aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/instant_heading.tsx
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-20 03:08:33 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-20 03:08:33 +0800
commitc070142dc02e97a3512cf8db189f5fffc9eb469a (patch)
tree0b2efce4cbe4d7845f497c7c3d609cd9469a85d4 /packages/instant/src/components/instant_heading.tsx
parent6f80c7e6d94124d16685853b0928f725a262e09e (diff)
downloaddexon-sol-tools-c070142dc02e97a3512cf8db189f5fffc9eb469a.tar.gz
dexon-sol-tools-c070142dc02e97a3512cf8db189f5fffc9eb469a.tar.zst
dexon-sol-tools-c070142dc02e97a3512cf8db189f5fffc9eb469a.zip
linting
Diffstat (limited to 'packages/instant/src/components/instant_heading.tsx')
-rw-r--r--packages/instant/src/components/instant_heading.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/components/instant_heading.tsx b/packages/instant/src/components/instant_heading.tsx
index 625961b84..63d2138a5 100644
--- a/packages/instant/src/components/instant_heading.tsx
+++ b/packages/instant/src/components/instant_heading.tsx
@@ -60,7 +60,7 @@ export class InstantHeading extends React.Component<InstantHeadingProps, {}> {
return amountFunction();
}
- private _ethAmount = (): React.ReactNode => {
+ private readonly _ethAmount = (): React.ReactNode => {
return (
<Text fontSize="16px" fontColor={ColorOption.white} fontWeight={500}>
{format.ethBaseAmount(
@@ -72,7 +72,7 @@ export class InstantHeading extends React.Component<InstantHeadingProps, {}> {
);
};
- private _dollarAmount = (): React.ReactNode => {
+ private readonly _dollarAmount = (): React.ReactNode => {
return (
<Text fontSize="16px" fontColor={ColorOption.white}>
{format.ethBaseAmountInUsd(