Skip to content

Commit 54ca143

Browse files
Update data-loading.mdx Fix Variable name (#659)
1 parent a22814a commit 54ca143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/solid-start/building-your-application/data-loading.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const route = {
5252
};
5353

5454
export default function Page() {
55-
const students = createAsync(() => getUsers());
55+
const users = createAsync(() => getUsers());
5656

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

0 commit comments

Comments
 (0)