reset compose state after success

This commit is contained in:
2458773093 2019-08-23 03:20:11 +03:00
parent e5a05a9210
commit a8bef0faab

View File

@ -92,6 +92,7 @@ function statusToTextMentions(state, status) {
function clearAll(state) {
return state.withMutations(map => {
map.set('id', null);
map.set('text', '');
map.set('spoiler', false);
map.set('spoiler_text', '');