cleal localStorage on logout

This commit is contained in:
or-else
2019-02-03 17:18:44 +03:00
parent fc96d200ed
commit 6bd64b2863
8 changed files with 29 additions and 21 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ class ContextMenu extends React.Component {
console.log("Topic not found: ", params.topicName);
return;
}
topic.setMeta({desc: {private: {arch: true}}}).catch((err) => {
topic.archive(true).catch((err) => {
if (errorHandler) {
errorHandler(err.message, 'err');
}