aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/sidebar
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/components/dashboard/sidebar')
-rw-r--r--apps/web/components/dashboard/sidebar/NewListModal.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/web/components/dashboard/sidebar/NewListModal.tsx b/apps/web/components/dashboard/sidebar/NewListModal.tsx
index 31c35d6c..5169fbb5 100644
--- a/apps/web/components/dashboard/sidebar/NewListModal.tsx
+++ b/apps/web/components/dashboard/sidebar/NewListModal.tsx
@@ -51,7 +51,7 @@ export default function NewListModal() {
resolver: zodResolver(formSchema),
defaultValues: {
name: "",
- icon: "💡",
+ icon: "🚀",
},
});
@@ -64,6 +64,7 @@ export default function NewListModal() {
});
listsInvalidationFunction();
setOpen(false);
+ form.reset();
},
onError: (e) => {
if (e.data?.code == "BAD_REQUEST") {