diff --git a/src/api/__tests__/lists.spec.ts b/src/api/__tests__/lists.spec.ts index 0978488..ddacd52 100644 --- a/src/api/__tests__/lists.spec.ts +++ b/src/api/__tests__/lists.spec.ts @@ -101,7 +101,7 @@ describe('lists API', () => { } as unknown as Response) global.fetch = fetchMock - const result = await createListApi({ name: 'Groceries', user_ids: [] }) + const result = await createListApi({ name: 'Groceries' }) expect(fetchMock).toHaveBeenCalledWith( `${API_BASE_URL}/lists`, diff --git a/src/components/InvitesPanel.vue b/src/components/InvitesPanel.vue index c899ed6..395797c 100644 --- a/src/components/InvitesPanel.vue +++ b/src/components/InvitesPanel.vue @@ -138,7 +138,11 @@ async function shareInvite(invite: Invite) { if (typeof navigator.share === 'function') { try { - await navigator.share({ title: 'Join dttmr', text: 'Use this link to create your account', url }) + await navigator.share({ + title: 'Join dttmr', + text: 'Use this link to create your account', + url, + }) return } catch (err) { if (err instanceof Error && err.name === 'AbortError') { @@ -248,7 +252,15 @@ function inviteDetail(invite: Invite): string { {{ inviteDetail(invite) }}
-