feat: save recipe in progress
Signed-off-by: pakintada@gmail.com <Pakin>
This commit is contained in:
parent
916e056389
commit
230d4abe0c
11 changed files with 310 additions and 41 deletions
|
|
@ -47,9 +47,12 @@
|
|||
authStore.set(null);
|
||||
|
||||
let socket = get(socketStore);
|
||||
if (socket) {
|
||||
socket.close(1000, 'logout');
|
||||
}
|
||||
|
||||
try {
|
||||
if (socket) {
|
||||
socket.close(1000, 'logout');
|
||||
}
|
||||
} catch (e) {}
|
||||
|
||||
socketStore.set(null);
|
||||
if (browser && 'cookieStore' in window) await cookieStore.delete('logged_in');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue