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/scaling_input.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/scaling_input.tsx')
-rw-r--r-- | packages/instant/src/components/scaling_input.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/components/scaling_input.tsx b/packages/instant/src/components/scaling_input.tsx index 00aea37da..c31de1fb5 100644 --- a/packages/instant/src/components/scaling_input.tsx +++ b/packages/instant/src/components/scaling_input.tsx @@ -51,7 +51,7 @@ const defaultScalingSettings: ScalingSettings = { additionalInputSpaceInCh: 0.4, }; -export class ScalingInput extends React.Component<ScalingInputProps> { +export class ScalingInput extends React.PureComponent<ScalingInputProps> { public static defaultProps = { onChange: util.boundNoop, onFontSizeChange: util.boundNoop, |