Update header styling

This commit is contained in:
Robert Long
2021-12-02 17:21:37 -08:00
parent dbaf467a20
commit f09454ec09
13 changed files with 316 additions and 110 deletions

View File

@@ -249,8 +249,8 @@ export function useClient(homeserverUrl) {
const logout = useCallback(() => {
localStorage.removeItem("matrix-auth-store");
setState({ client: undefined, loading: false, authenticated: false });
}, []);
window.location = "/";
}, [history]);
return {
loading,