diff options
author | Francesco Agosti <francesco.agosti93@gmail.com> | 2019-01-03 20:36:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-03 20:36:18 +0800 |
commit | c1150824dc0019da72d1a78586d1ba722626c78c (patch) | |
tree | d7c656316045dd2da21a8512d0a3c569ec935bba /packages/instant/src/components/time_counter.tsx | |
parent | 1ddf1087dd327b2ef35165518ee91eb457b84174 (diff) | |
parent | 1ceb3c96645fd3682c59459fdce996cdf5f216cf (diff) | |
download | dexon-0x-contracts-c1150824dc0019da72d1a78586d1ba722626c78c.tar dexon-0x-contracts-c1150824dc0019da72d1a78586d1ba722626c78c.tar.gz dexon-0x-contracts-c1150824dc0019da72d1a78586d1ba722626c78c.tar.bz2 dexon-0x-contracts-c1150824dc0019da72d1a78586d1ba722626c78c.tar.lz dexon-0x-contracts-c1150824dc0019da72d1a78586d1ba722626c78c.tar.xz dexon-0x-contracts-c1150824dc0019da72d1a78586d1ba722626c78c.tar.zst dexon-0x-contracts-c1150824dc0019da72d1a78586d1ba722626c78c.zip |
Merge pull request #1480 from 0xProject/feature/instant/performance-boost
[instant] No more laggy input
Diffstat (limited to 'packages/instant/src/components/time_counter.tsx')
-rw-r--r-- | packages/instant/src/components/time_counter.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/components/time_counter.tsx b/packages/instant/src/components/time_counter.tsx index f9b68163c..93dc497d5 100644 --- a/packages/instant/src/components/time_counter.tsx +++ b/packages/instant/src/components/time_counter.tsx @@ -16,7 +16,7 @@ interface TimeCounterState { elapsedSeconds: number; } -export class TimeCounter extends React.Component<TimeCounterProps, TimeCounterState> { +export class TimeCounter extends React.PureComponent<TimeCounterProps, TimeCounterState> { public state = { elapsedSeconds: 0, }; |