From 25d0fff95f50ff126f2e5024516f0aee14aba9ea Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Tue, 21 Jan 2020 10:51:32 +1100 Subject: [PATCH] fix build --- ts/components/conversation/InviteFriendsDialog.tsx | 5 ----- ts/components/session/SessionPasswordModal.tsx | 1 - ts/state/roots/createLeftPane.tsx | 2 +- tsconfig.json | 2 +- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/ts/components/conversation/InviteFriendsDialog.tsx b/ts/components/conversation/InviteFriendsDialog.tsx index a21257fd5..0c6269ac7 100644 --- a/ts/components/conversation/InviteFriendsDialog.tsx +++ b/ts/components/conversation/InviteFriendsDialog.tsx @@ -1,10 +1,5 @@ import React from 'react'; import { Contact, MemberList } from './MemberList'; -import { - SessionIconButton, - SessionIconSize, - SessionIconType, -} from '../session/icon'; import { SessionModal } from '../session/SessionModal'; import { SessionButton } from '../session/SessionButton'; diff --git a/ts/components/session/SessionPasswordModal.tsx b/ts/components/session/SessionPasswordModal.tsx index 00dd18618..b86ac6d98 100644 --- a/ts/components/session/SessionPasswordModal.tsx +++ b/ts/components/session/SessionPasswordModal.tsx @@ -172,7 +172,6 @@ export class SessionPasswordModal extends React.Component { } private closeDialog() { - window.removeEventListener('keyup', this.onEnter); if (this.props.onClose) { this.props.onClose(); diff --git a/ts/state/roots/createLeftPane.tsx b/ts/state/roots/createLeftPane.tsx index 73cde2a75..608e13a0b 100644 --- a/ts/state/roots/createLeftPane.tsx +++ b/ts/state/roots/createLeftPane.tsx @@ -10,7 +10,7 @@ import { SmartLeftPane } from '../smart/LeftPane'; const FilteredLeftPane = SmartLeftPane as any; export const createLeftPane = (store: Store) => ( - + ); diff --git a/tsconfig.json b/tsconfig.json index eac30d46f..e20210c08 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,7 +24,7 @@ // Strict Type-Checking Options "strict": true, // Enable all strict type-checking options. - + "skipLibCheck": true, // Additional Checks "noUnusedLocals": true, // Report errors on unused locals. "noUnusedParameters": true, // Report errors on unused parameters.