attempted fix for tinode/chat#278
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
||||
// This is a generated file. Don't edit.
|
||||
|
||||
export const PACKAGE_VERSION = "0.16.2-rc1";
|
||||
export const PACKAGE_VERSION = "0.16.2-rc2";
|
||||
|
||||
@@ -524,6 +524,7 @@ class TinodeWeb extends React.Component {
|
||||
withCred().
|
||||
build()
|
||||
).catch((err) => {
|
||||
this.tinode.disconnect();
|
||||
localStorage.removeItem('auth-token');
|
||||
this.handleError(err.message, 'err');
|
||||
HashNavigation.navigateTo('');
|
||||
|
||||
Reference in New Issue
Block a user