From c7d8d258e3382184375cd6b86148313ff4706ad0 Mon Sep 17 00:00:00 2001 From: MATT ANIS Date: Mon, 22 Jun 2026 22:56:15 +0100 Subject: [PATCH] Update part6c.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Part:** 6 — TanStack Query **Description:** In the TanStack Query example, the `toggleImportance` function is triggered twice when clicking the button, due to both the `
  • ` and the nested `
  • ``` --- src/content/6/en/part6c.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/6/en/part6c.md b/src/content/6/en/part6c.md index 7dbb41ea820..a3198c88852 100644 --- a/src/content/6/en/part6c.md +++ b/src/content/6/en/part6c.md @@ -34,9 +34,9 @@ const App = () => { {notes.map((note) => ( -
  • toggleImportance(note)}> +
  • {note.important ? {note.content} : note.content} -