Small refactor

This commit is contained in:
Brahim Hadriche committed 2023-06-25 04:07:39 -04:00
1 parent cf102d1bd1
commit 1c6a2e39d1
1 file changed
+3 -2
+3 -2
View File
@@ -31,8 +31,9 @@
};
const logout = async () => {
await PlayletApi.logout();
// TODO: reload state
window.location.reload();
PlayletApi.getState().then((value) => {
playletStateStore.set(value);
});
};
</script>