We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd3aa56 commit 5d14672Copy full SHA for 5d14672
1 file changed
src/routes/reference/reactive-utilities/index-array.mdx
@@ -80,10 +80,7 @@ Returns an accessor for the mapped array.
80
```ts
81
import { createSignal, indexArray } from "solid-js";
82
83
-const [source] = createSignal([
84
- { status: "pending" },
85
- { status: "done" },
86
-]);
+const [source] = createSignal([{ status: "pending" }, { status: "done" }]);
87
88
const mapped = indexArray(source, (item, index) => ({
89
index,
0 commit comments