Skip to content

Delete problem #20

@cherryTec

Description

@cherryTec

Bug description

Every step is fine,excipt delete.I canit figure out by myself,Can you help me.

I get too Error:
Status Code: 500
form.ts:21 Fetch error: {}

Steps to reproduce

---//todo-item.svelte
export let processDeletedTodoResult: (res: Response) => void;

----//
{#each todos as todo}
<TodoItem
{todo}
processDeletedTodoResult={() => {
todos = todos.filter(t => t.uid !== todo.uid);
}}
{processUpdatedTodoResult}
/>
{/each}

Expected behavior

No response

Example repository

https://3000-sapphire-sheep-8fvpx5g2.ws-us23.gitpod.io/

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions