diff --git a/src/SideMenuJournals.tsx b/src/SideMenu/SideMenuJournals.tsx similarity index 92% rename from src/SideMenuJournals.tsx rename to src/SideMenu/SideMenuJournals.tsx index df52c33..7236890 100644 --- a/src/SideMenuJournals.tsx +++ b/src/SideMenu/SideMenuJournals.tsx @@ -1,10 +1,10 @@ import * as React from 'react'; -import { ListItem } from './widgets/List'; +import { ListItem } from '../widgets/List'; -import * as EteSync from './api/EteSync'; +import * as EteSync from '../api/EteSync'; -import { JournalsData, CredentialsData } from './store'; +import { JournalsData, CredentialsData } from '../store'; class SideMenuJournals extends React.PureComponent { props: { diff --git a/src/SideMenu.tsx b/src/SideMenu/index.tsx similarity index 92% rename from src/SideMenu.tsx rename to src/SideMenu/index.tsx index 067a19f..61fb3f4 100644 --- a/src/SideMenu.tsx +++ b/src/SideMenu/index.tsx @@ -1,23 +1,23 @@ import * as React from 'react'; import { connect } from 'react-redux'; import { withRouter } from 'react-router'; -import { List, ListItem, ListSubheader, ListDivider } from './widgets/List'; +import { List, ListItem, ListSubheader, ListDivider } from '../widgets/List'; import ActionCode from 'material-ui/svg-icons/action/code'; import ActionHome from 'material-ui/svg-icons/action/home'; import ActionBugReport from 'material-ui/svg-icons/action/bug-report'; import ActionQuestionAnswer from 'material-ui/svg-icons/action/question-answer'; import LogoutIcon from 'material-ui/svg-icons/action/power-settings-new'; -const logo = require('./images/logo.svg'); +const logo = require('../images/logo.svg'); import SideMenuJournals from './SideMenuJournals'; -import { routeResolver, getPalette } from './App'; +import { routeResolver, getPalette } from '../App'; -import { store, JournalsType, StoreState, CredentialsData } from './store'; -import { logout } from './store/actions'; +import { store, JournalsType, StoreState, CredentialsData } from '../store'; +import { logout } from '../store/actions'; -import * as C from './constants'; +import * as C from '../constants'; interface PropsType { etesync: CredentialsData | null;