Skip to content

Commit 6339a77

Browse files
committed
스페이스 정보 수정 중 에러 발생 시 토스트 띄움
1 parent a50f7a5 commit 6339a77

File tree

1 file changed

+4
-0
lines changed
  • apps/website/src/routes/(default)/[space]/dashboard/settings

1 file changed

+4
-0
lines changed

apps/website/src/routes/(default)/[space]/dashboard/settings/+page.svelte

+4
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@
8686
toast.success('스페이스 정보가 수정되었어요');
8787
await goto(`/${$data.slug}/dashboard/settings`);
8888
},
89+
onError: (resp) => {
90+
// @ts-expect-error form validation error
91+
toast.error(resp.message);
92+
},
8993
});
9094
9195
$: setInitialValues({

0 commit comments

Comments
 (0)