Skip to content

Commit cf0e544

Browse files
use the tasks signal (#1544)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 1ee140b commit cf0e544

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/routes/solid-router/(3)data-fetching/(2)revalidation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function Project(props: { id: string }) {
5353
return (
5454
<div>
5555
<button onClick={refetchTasks}>Refetch tasks for this project</button>
56-
<For each={project.tasks}>{(task) => <div>{task.title}</div>}</For>
56+
<For each={tasks()}>{(task) => <div>{task.title}</div>}</For>
5757
</div>
5858
);
5959
}

0 commit comments

Comments
 (0)