Sean Rhee 5 лет назад
Родитель
Сommit
01ce60a02e
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      dashboard/src/main/Main.tsx

+ 3 - 0
dashboard/src/main/Main.tsx

@@ -55,6 +55,9 @@ export default class Main extends Component<PropsType, StateType> {
   }
 
   handleLogOut = () => {
+    // Clears local storage for proper rendering of clusters
+    localStorage.clear();
+
     this.context.clearContext();
     this.setState({ isLoggedIn: false, initialized: true });
   }