setAppState(APPSTATE.CHANNELS + "#" + selectedChannel.name)} on:keydown={() => setAppState(APPSTATE.CHANNELS + "#" + selectedChannel.name)}>
diff --git a/front/volume/src/FakeLogin.svelte b/front/volume/src/FakeLogin.svelte
index 5431d81..6b2f4d6 100644
--- a/front/volume/src/FakeLogin.svelte
+++ b/front/volume/src/FakeLogin.svelte
@@ -3,10 +3,9 @@
export let username;
export let ftId;
- let result = null;
async function doPost() {
- const res = await fetch(API_URL + "/" + ftId, {
+ await fetch(API_URL + "/" + ftId, {
method: "POST",
credentials: "include",
mode: "cors",
@@ -20,10 +19,6 @@
avatar: "no avatar",
}),
});
-
- const json = await res.json();
- result = JSON.stringify(json);
- console.log(result);
}
@@ -31,5 +26,4 @@
-
Result: {result}