mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-23 14:31:07 +00:00
eslint fixes
This commit is contained in:
parent
fabd569bed
commit
1aed318741
@ -63,12 +63,6 @@ const ErrorMessage = styled.div`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export default class DuplicateDevice extends Component<Props, State> {
|
export default class DuplicateDevice extends Component<Props, State> {
|
||||||
state: State;
|
|
||||||
|
|
||||||
input: ?HTMLInputElement;
|
|
||||||
|
|
||||||
keyboardHandler: (event: KeyboardEvent) => void;
|
|
||||||
|
|
||||||
constructor(props: Props) {
|
constructor(props: Props) {
|
||||||
super(props);
|
super(props);
|
||||||
|
|
||||||
@ -85,6 +79,12 @@ export default class DuplicateDevice extends Component<Props, State> {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
state: State;
|
||||||
|
|
||||||
|
input: ?HTMLInputElement;
|
||||||
|
|
||||||
|
keyboardHandler: (event: KeyboardEvent) => void;
|
||||||
|
|
||||||
componentDidMount(): void {
|
componentDidMount(): void {
|
||||||
// one time autofocus
|
// one time autofocus
|
||||||
if (this.input) this.input.focus();
|
if (this.input) this.input.focus();
|
||||||
|
@ -65,7 +65,7 @@ module.exports = {
|
|||||||
plugins: [
|
plugins: [
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
'process.env.BUILD': JSON.stringify(process.env.BUILD),
|
'process.env.BUILD': JSON.stringify(process.env.BUILD),
|
||||||
COMMITHASH: JSON.stringify(gitRevisionPlugin.commithash()
|
COMMITHASH: JSON.stringify(gitRevisionPlugin.commithash()),
|
||||||
}),
|
}),
|
||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
chunks: ['index'],
|
chunks: ['index'],
|
||||||
|
Loading…
Reference in New Issue
Block a user