From dc44272f4e37566b00f5764b2e62daa088ff8986 Mon Sep 17 00:00:00 2001 From: MayGo Date: Fri, 29 Jun 2018 11:06:49 +0300 Subject: [PATCH] Remove unused imports. --- client/src/components/TrayLayout/TrayLayout.tsx | 2 +- client/src/routes/SettingsPage.tsx | 2 -- client/src/routes/SummaryPage.tsx | 2 -- client/src/routes/TimelinePage.tsx | 3 --- client/src/routes/TrayAppPage.tsx | 3 --- client/src/routes/TrayPage.tsx | 2 -- 6 files changed, 1 insertion(+), 13 deletions(-) diff --git a/client/src/components/TrayLayout/TrayLayout.tsx b/client/src/components/TrayLayout/TrayLayout.tsx index f9e8a827..0256cffb 100644 --- a/client/src/components/TrayLayout/TrayLayout.tsx +++ b/client/src/components/TrayLayout/TrayLayout.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { Layout } from 'antd'; -const { Footer, Content } = Layout; +const { Content } = Layout; import { TrayMenuContainer } from './TrayMenuContainer'; export function TrayLayout({ children }: any) { diff --git a/client/src/routes/SettingsPage.tsx b/client/src/routes/SettingsPage.tsx index 38f9a520..5ff7a862 100644 --- a/client/src/routes/SettingsPage.tsx +++ b/client/src/routes/SettingsPage.tsx @@ -1,10 +1,8 @@ import * as React from 'react'; -import { Layout } from 'antd'; import { connect } from 'dva'; import { MainLayout } from '../components/MainLayout/MainLayout'; import { SettingsFormContainer } from '../components/Settings/SettingsFormContainer'; -const { Content } = Layout; function Settings({ location }: any) { return ( diff --git a/client/src/routes/SummaryPage.tsx b/client/src/routes/SummaryPage.tsx index 371df8ed..9c688b34 100644 --- a/client/src/routes/SummaryPage.tsx +++ b/client/src/routes/SummaryPage.tsx @@ -1,10 +1,8 @@ import * as React from 'react'; -import { Layout } from 'antd'; import { connect } from 'dva'; import { MainLayout } from '../components/MainLayout/MainLayout'; import { SummaryCalendarContainer } from '../components/SummaryCalendar/SymmaryCalendarContainer'; -const { Content } = Layout; function Summary({ location }: any) { return ( diff --git a/client/src/routes/TimelinePage.tsx b/client/src/routes/TimelinePage.tsx index 5ebf9abc..4e0b6224 100644 --- a/client/src/routes/TimelinePage.tsx +++ b/client/src/routes/TimelinePage.tsx @@ -1,6 +1,5 @@ import * as React from 'react'; -import { Layout } from 'antd'; import { TimelineContainer } from '../components/Timeline/TimelineContainer'; import { SearchContainer } from '../components/Timeline/SearchContainer'; import { connect } from 'dva'; @@ -8,8 +7,6 @@ import { TrackItemTableContainer } from '../components/TrackItemTable/TrackItemT import { MainLayout } from '../components/MainLayout/MainLayout'; import { PieChartsContainer } from '../components/PieCharts/PieChartsContainer'; -const { Content } = Layout; - function Timeline({ location }: any) { return ( diff --git a/client/src/routes/TrayAppPage.tsx b/client/src/routes/TrayAppPage.tsx index 4d4399e9..6c423794 100644 --- a/client/src/routes/TrayAppPage.tsx +++ b/client/src/routes/TrayAppPage.tsx @@ -1,14 +1,11 @@ import * as React from 'react'; -import { Layout } from 'antd'; import { connect } from 'dva'; import { Box } from 'grid-styled'; import { TrayListContainer } from '../components/TrayList/TrayListContainer'; import { TimelineItemEditTrayContainer } from '../components/Timeline/TimelineItemEditTrayContainer'; import { TrayLayout } from '../components/TrayLayout/TrayLayout'; -const { Content } = Layout; - function TrayApp({ location, runningLogItem }: any) { return ( diff --git a/client/src/routes/TrayPage.tsx b/client/src/routes/TrayPage.tsx index 3eb3313b..55137426 100644 --- a/client/src/routes/TrayPage.tsx +++ b/client/src/routes/TrayPage.tsx @@ -1,11 +1,9 @@ import * as React from 'react'; -import { Layout } from 'antd'; import { connect } from 'dva'; import { MainLayout } from '../components/MainLayout/MainLayout'; import { TrayListContainer } from '../components/TrayList/TrayListContainer'; import { TimelineItemEditTrayContainer } from '../components/Timeline/TimelineItemEditTrayContainer'; -const { Content } = Layout; function Tray({ location }: any) { return (