Skip to content

Commit

Permalink
Typo in createResource example user type (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
kingRayhan authored May 25, 2024
1 parent 6e59e72 commit 56f6bf8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ It takes an async function and returns a [signal](/reference/basic-reactivity/cr
```tsx {6-9}
import { For, createResource } from "solid-js";

type Users = { name: string; house: string };
type User = { name: string; house: string };

export default function Page() {
const [users] = createResource(async () => {
Expand Down

0 comments on commit 56f6bf8

Please sign in to comment.