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:30 +03:00 committed by GitHub
parent eaa95776af
commit 42b6b2120e

View File

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