Skip to content

Commit

Permalink
docs: fix fetching-data.mdx (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
recovery-alt authored Jul 22, 2024
1 parent 350186e commit 75c20c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/guides/fetching-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const fetchUser = async (id) =>

function App() {
const [userId, setUserId] = createSignal();
const [user] = createResource(userId, fetchUser);
const [user] = createResource(userId(), fetchUser);

return (
<div>
Expand Down

0 comments on commit 75c20c3

Please sign in to comment.