Skip to content

Commit 7aec198

Browse files
authored
fix: typo in create-selector.mdx (#681)
1 parent eb8fdf1 commit 7aec198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/reference/secondary-primitives/create-selector.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Useful for delegated selection state. As it makes the operation O(1) instead of
1616
```tsx
1717
const isSelected = createSelector(selectedId)
1818

19-
;<For each={list()}>
19+
<For each={list()}>
2020
{(item) => <li classList={{ active: isSelected(item.id) }}>{item.name}</li>}
2121
</For>
2222
```

0 commit comments

Comments
 (0)