Update src/screens/drafts/screen/draftsScreen.js

Co-Authored-By: uğur erdal <ugurerdal93@gmail.com>
This commit is contained in:
Mustafa Buyukcelebi 2019-08-27 01:31:38 +03:00 committed by GitHub
parent 42b6b2120e
commit 12f7e8e62e

View File

@ -42,7 +42,6 @@ class DraftsScreen extends Component {
const tags = item.tags ? item.tags.split(/[ ,]+/) : []; const tags = item.tags ? item.tags.split(/[ ,]+/) : [];
const tag = tags[0] || ''; const tag = tags[0] || '';
const image = catchDraftImage(item.body); const image = catchDraftImage(item.body);
item.last_update = item.created;
const summary = postBodySummary({ item, last_update: item.created }, 100); const summary = postBodySummary({ item, last_update: item.created }, 100);
const isSchedules = type === 'schedules'; const isSchedules = type === 'schedules';