From 32a8884c0cb76deab564b0cd6c788a55b31ca7d5 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 1 Jun 2024 21:12:51 -0700 Subject: [PATCH] fix: model create --- src/routes/(app)/workspace/models/create/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/(app)/workspace/models/create/+page.svelte b/src/routes/(app)/workspace/models/create/+page.svelte index 99344b0e6..9b351e63e 100644 --- a/src/routes/(app)/workspace/models/create/+page.svelte +++ b/src/routes/(app)/workspace/models/create/+page.svelte @@ -108,9 +108,9 @@ }); if (res) { + await models.set(await getModels(localStorage.token)); toast.success('Model created successfully!'); await goto('/workspace/models'); - await models.set(await getModels(localStorage.token)); } }