From 2eaf3c8f24f984b571e50ab925e30a6f257ff712 Mon Sep 17 00:00:00 2001 From: Annie Huang Date: Tue, 25 Jun 2024 16:24:16 +0800 Subject: [PATCH] auto type echo start --- app/src/store/session.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/store/session.ts b/app/src/store/session.ts index d941721..6171350 100644 --- a/app/src/store/session.ts +++ b/app/src/store/session.ts @@ -74,6 +74,7 @@ export async function createSession() { const res = await api.post('/sessions', { questId: store.questId }) const { data } = res await setSession(data) + socket.emit('terminal', 'echo start') } catch (err) { console.error(err) toast.error('Failed to create a new session. Please try again later.')