Merge #638: bind the frontend error-state retry callback

This commit is contained in:
Addy Osmani authored and GitHub committed 2026-10-10 01:22:36 -07:00
commit 446e75c566
1 file changed
+1 -1
+1 -1
View File
@@ -79,7 +79,7 @@ export function TaskItem({ task, onToggle, onDelete }: TaskItemProps) {
```tsx
// Container: handles data
export function TaskListContainer() {
const { tasks, isLoading, error } = useTasks();
const { tasks, isLoading, error, refetch } = useTasks();
if (isLoading) return <TaskListSkeleton />;
if (error) return <ErrorState message="Failed to load tasks" retry={refetch} />;