Move all of the side menu items to one place.
parent
1da58da23e
commit
98686f197a
@ -1,10 +1,10 @@
|
|||||||
import * as React from 'react';
|
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 {
|
class SideMenuJournals extends React.PureComponent {
|
||||||
props: {
|
props: {
|
@ -1,23 +1,23 @@
|
|||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { withRouter } from 'react-router';
|
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 ActionCode from 'material-ui/svg-icons/action/code';
|
||||||
import ActionHome from 'material-ui/svg-icons/action/home';
|
import ActionHome from 'material-ui/svg-icons/action/home';
|
||||||
import ActionBugReport from 'material-ui/svg-icons/action/bug-report';
|
import ActionBugReport from 'material-ui/svg-icons/action/bug-report';
|
||||||
import ActionQuestionAnswer from 'material-ui/svg-icons/action/question-answer';
|
import ActionQuestionAnswer from 'material-ui/svg-icons/action/question-answer';
|
||||||
import LogoutIcon from 'material-ui/svg-icons/action/power-settings-new';
|
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 SideMenuJournals from './SideMenuJournals';
|
||||||
|
|
||||||
import { routeResolver, getPalette } from './App';
|
import { routeResolver, getPalette } from '../App';
|
||||||
|
|
||||||
import { store, JournalsType, StoreState, CredentialsData } from './store';
|
import { store, JournalsType, StoreState, CredentialsData } from '../store';
|
||||||
import { logout } from './store/actions';
|
import { logout } from '../store/actions';
|
||||||
|
|
||||||
import * as C from './constants';
|
import * as C from '../constants';
|
||||||
|
|
||||||
interface PropsType {
|
interface PropsType {
|
||||||
etesync: CredentialsData | null;
|
etesync: CredentialsData | null;
|
Loading…
Reference in New Issue