Small refactor
This commit is contained in:
1 parent
cf102d1bd1
commit
1c6a2e39d1
1 file changed
+3
-2
@@ -31,8 +31,9 @@
|
||||
};
|
||||
const logout = async () => {
|
||||
await PlayletApi.logout();
|
||||
// TODO: reload state
|
||||
window.location.reload();
|
||||
PlayletApi.getState().then((value) => {
|
||||
playletStateStore.set(value);
|
||||
});
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in new issue
Block a user