Skip to content

Commit

Permalink
Update data-loading.mdx Fix Variable name (#659)
Browse files Browse the repository at this point in the history
  • Loading branch information
codingMechanic73 authored Apr 27, 2024
1 parent a22814a commit 54ca143
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const route = {
};

export default function Page() {
const students = createAsync(() => getUsers());
const users = createAsync(() => getUsers());

return <ul>{users() && users()!.map((user) => <li>{user.name}</li>)}</ul>;
}
Expand Down

0 comments on commit 54ca143

Please sign in to comment.