aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-11 08:14:17 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-11 08:14:17 +0800
commit9fe88b214653f39f63266198f426a68dafbe7890 (patch)
tree5178c216e89e458fcb2f8b5d752378fdfd04ac70 /packages/instant
parentc8e7d225ca4bc9774b4f902c01668873cbdce6a1 (diff)
downloaddexon-0x-contracts-9fe88b214653f39f63266198f426a68dafbe7890.tar.gz
dexon-0x-contracts-9fe88b214653f39f63266198f426a68dafbe7890.tar.zst
dexon-0x-contracts-9fe88b214653f39f63266198f426a68dafbe7890.zip
Lint and update deps
Diffstat (limited to 'packages/instant')
-rw-r--r--packages/instant/package.json4
-rw-r--r--packages/instant/src/components/amount_input.tsx2
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/instant/package.json b/packages/instant/package.json
index cc7d8c9eb..9ceefdc0e 100644
--- a/packages/instant/package.json
+++ b/packages/instant/package.json
@@ -44,10 +44,10 @@
"homepage": "https://github.com/0xProject/0x-monorepo/packages/instant/README.md",
"dependencies": {
"@0xproject/asset-buyer": "^2.0.0",
- "@0xproject/types": "^1.1.1",
+ "@0xproject/types": "^1.1.4",
"@0xproject/typescript-typings": "^2.0.2",
"@0xproject/utils": "^2.0.2",
- "@0xproject/web3-wrapper": "^3.0.1",
+ "@0xproject/web3-wrapper": "^3.0.3",
"ethereum-types": "^1.0.8",
"lodash": "^4.17.10",
"polished": "^2.2.0",
diff --git a/packages/instant/src/components/amount_input.tsx b/packages/instant/src/components/amount_input.tsx
index 3f16869b4..38810063d 100644
--- a/packages/instant/src/components/amount_input.tsx
+++ b/packages/instant/src/components/amount_input.tsx
@@ -29,7 +29,7 @@ export class AmountInput extends React.Component<AmountInputProps> {
</Container>
);
}
- private _handleChange = (event: React.ChangeEvent<HTMLInputElement>): void => {
+ private readonly _handleChange = (event: React.ChangeEvent<HTMLInputElement>): void => {
const value = event.target.value;
let bigNumberValue;
if (!_.isEmpty(value)) {