Skip to content

Commit bb1164c

Browse files
committed
Add TanStack DB + TanStack Query (React) example
1 parent ab60b9d commit bb1164c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const UsersTable = () => {
4343
{u.first_name} {u.last_name}
4444
</td>
4545
<td>
46-
<button onClick={() => patchUser({ id: u.id, patch: { first_name: 'Alice' } })}>Rename to Alice (optimistic)</button>
46+
<button onClick={() => patchUser({ id: u.id, patch: { first_name: 'UPDATED' } })}>Rename to UPDATED (optimistic)</button>
4747
</td>
4848
</tr>
4949
))}

0 commit comments

Comments
 (0)