Skip to content

Commit

Permalink
fixup snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
pbohlman committed Apr 8, 2024
1 parent 4008ffd commit 3bbd631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const client = new TriplitClient({
});

function App() {
const { data } = useQuery(client.query('todos'));
const { results: todos } = useQuery(client.query('todos'));

return (
<div>
Expand Down

0 comments on commit 3bbd631

Please sign in to comment.