aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-11-15 06:02:34 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-11-15 06:02:34 +0800
commit504f4d9eb99589b4d9071a6f13cea9dcc11f226d (patch)
treedef28dc7bf08452e086a6efdab2b85c8a5fc60d0 /packages
parentdaf5719f082f62e46073b1badd141da445b33b09 (diff)
downloaddexon-sol-tools-504f4d9eb99589b4d9071a6f13cea9dcc11f226d.tar
dexon-sol-tools-504f4d9eb99589b4d9071a6f13cea9dcc11f226d.tar.gz
dexon-sol-tools-504f4d9eb99589b4d9071a6f13cea9dcc11f226d.tar.bz2
dexon-sol-tools-504f4d9eb99589b4d9071a6f13cea9dcc11f226d.tar.lz
dexon-sol-tools-504f4d9eb99589b4d9071a6f13cea9dcc11f226d.tar.xz
dexon-sol-tools-504f4d9eb99589b4d9071a6f13cea9dcc11f226d.tar.zst
dexon-sol-tools-504f4d9eb99589b4d9071a6f13cea9dcc11f226d.zip
fix(instant): fix tabIndex attribute error
Diffstat (limited to 'packages')
-rw-r--r--packages/instant/src/components/erc20_token_selector.tsx2
-rw-r--r--packages/instant/src/components/ui/input.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/components/erc20_token_selector.tsx b/packages/instant/src/components/erc20_token_selector.tsx
index 78741a617..e4d8749a9 100644
--- a/packages/instant/src/components/erc20_token_selector.tsx
+++ b/packages/instant/src/components/erc20_token_selector.tsx
@@ -39,7 +39,7 @@ export class ERC20TokenSelector extends React.Component<ERC20TokenSelectorProps>
width="100%"
value={this.state.searchQuery}
onChange={this._handleSearchInputChange}
- tabindex={-1}
+ tabIndex={-1}
/>
<Container overflow="scroll" height="calc(100% - 90px)" marginTop="10px">
{_.map(tokens, token => {
diff --git a/packages/instant/src/components/ui/input.tsx b/packages/instant/src/components/ui/input.tsx
index 184f89066..1ea5d8fe1 100644
--- a/packages/instant/src/components/ui/input.tsx
+++ b/packages/instant/src/components/ui/input.tsx
@@ -3,7 +3,7 @@ import * as React from 'react';
import { ColorOption, styled } from '../../style/theme';
export interface InputProps {
- tabindex?: number;
+ tabIndex?: number;
className?: string;
value?: string;
width?: string;