Skip to content

Commit

Permalink
fix: wrong variable name in data-loading.mdx (#684)
Browse files Browse the repository at this point in the history
  • Loading branch information
roonie007 authored Apr 16, 2024
1 parent 25f5a7c commit d3aa805
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,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 d3aa805

Please sign in to comment.