Add auto complete back.

This commit is contained in:
Paul
2021-06-22 13:28:03 +01:00
parent 56dda66c1c
commit f724cfdf4f
7 changed files with 389 additions and 6 deletions

View File

@@ -113,6 +113,11 @@ function Context({ auth, sync, children, dispatcher }: Props) {
dispatcher({ type: "LOGOUT" });
delete client.user;
// ! FIXME: write procedure client.clear();
client.users.clear();
client.channels.clear();
client.servers.clear();
client.servers.members.clear();
dispatcher({ type: "RESET" });
openScreen({ id: "none" });