diff --git a/web/src/stores/lists.ts b/web/src/stores/lists.ts index d3f0907..c5d8f3a 100644 --- a/web/src/stores/lists.ts +++ b/web/src/stores/lists.ts @@ -23,11 +23,11 @@ export const useListsStore = defineStore('lists', () => { } } - async function createList(title: string, description: string): Promise { + async function createList(title: string): Promise { const { list } = await apiRequest<{ list: TodoList }>('/lists', { method: 'POST', auth: true, - body: { title, description }, + body: { title }, }) // Re-fetch so the new list lands in its correct alphabetical position. diff --git a/web/src/style.css b/web/src/style.css index 2e0afe8..b581856 100644 --- a/web/src/style.css +++ b/web/src/style.css @@ -148,6 +148,12 @@ h1 { margin: 1.25rem 0; } +.form--new-list { + margin-top: 1.5rem; + padding-top: 1.25rem; + border-top: 1px solid var(--border); +} + .form label { display: grid; gap: 0.3rem; diff --git a/web/src/views/HomeView.vue b/web/src/views/HomeView.vue index 5e61ec7..ff0beee 100644 --- a/web/src/views/HomeView.vue +++ b/web/src/views/HomeView.vue @@ -1,5 +1,5 @@