diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index ca3a34ce0..327a57dd5 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -40,8 +40,7 @@ let suggestions = ''; // $page.url.searchParams.get('suggestions'); onMount(async () => { - await createNewChat(true); - await setDBandLoadChats(); + await Promise.all([await createNewChat(true), await setDBandLoadChats()]); }); ////////////////////////// @@ -804,17 +803,17 @@