mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 20:01:56 +03:00
draft empty after submit post
This commit is contained in:
parent
3a99197cf8
commit
e7ac13b301
@ -274,6 +274,8 @@ class EditorContainer extends Component {
|
||||
0,
|
||||
)
|
||||
.then(() => {
|
||||
setDraftPost({ title: '', body: '', tags: '' }, currentAccount.name);
|
||||
|
||||
dispatch(
|
||||
toastNotification(
|
||||
intl.formatMessage({
|
||||
@ -284,8 +286,6 @@ class EditorContainer extends Component {
|
||||
|
||||
this.setState({ isPostSending: false });
|
||||
|
||||
setDraftPost({ title: '', body: '', tags: '' }, currentAccount.name);
|
||||
|
||||
navigation.navigate({
|
||||
routeName: ROUTES.SCREENS.POST,
|
||||
params: {
|
||||
|
Loading…
Reference in New Issue
Block a user