Skip to content

Commit d3aa805

Browse files
authored
fix: wrong variable name in data-loading.mdx (#684)
1 parent 25f5a7c commit d3aa805

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
@@ -94,7 +94,7 @@ export const route = {
9494
};
9595

9696
export default function Page() {
97-
const students = createAsync(() => getUsers());
97+
const users = createAsync(() => getUsers());
9898

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

0 commit comments

Comments
 (0)