Journals List Import: remove add journal button

master
Tal Leibman 5 years ago committed by Tom Hacohen
parent 284cb2413a
commit ad10d75dab

@ -1,17 +1,10 @@
import * as React from 'react';
import { Link } from 'react-router-dom';
import IconButton from '@material-ui/core/IconButton';
import IconAdd from '@material-ui/icons/Add';
import { List, ListItem } from '../widgets/List';
import AppBarOverride from '../widgets/AppBarOverride';
import Container from '../widgets/Container';
import { routeResolver } from '../App';
import { JournalsData, UserInfoData, CredentialsData } from '../store';
import ImportDialog from './ImportDialog';
import { SyncInfo, SyncInfoJournal } from '../SyncGate';
@ -48,17 +41,8 @@ export default function JournalsList(props: PropsType) {
});
return (
<Container>
<AppBarOverride title="Journals Import">
<IconButton
component={Link}
title="New"
{...{ to: routeResolver.getRoute('journals.new') }}
>
<IconAdd />
</IconButton>
</AppBarOverride>
<AppBarOverride title="Journals Import" />
<List>
<ListItem
primaryText="Address Books"

Loading…
Cancel
Save