Skip to content

Commit c434bbc

Browse files
committed
Merge remote-tracking branch 'origin/ref-updates' into ref-updates
2 parents 8253297 + 5d14672 commit c434bbc

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/routes/reference/reactive-utilities/index-array.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,7 @@ Returns an accessor for the mapped array.
8080
```ts
8181
import { createSignal, indexArray } from "solid-js";
8282

83-
const [source] = createSignal([
84-
{ status: "pending" },
85-
{ status: "done" },
86-
]);
83+
const [source] = createSignal([{ status: "pending" }, { status: "done" }]);
8784

8885
const mapped = indexArray(source, (item, index) => ({
8986
index,

0 commit comments

Comments
 (0)