Skip to content

Commit e154576

Browse files
committed
Minor docs fixes
1 parent adcb7bf commit e154576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/website/content/docs/release-notes/v2.0.0.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ We have refactored our rules to make them more consistent and intuitive.
4242
This release adds several new rules to help you write cleaner and more robust React code.
4343

4444
- **`react-x/no-unused-props`**: A TSC-backed rule to flag component props that are defined but never used (credit to [@ulrichstark](https://github.com/ulrichstark) for the implementation).
45-
- **`react-x/no-unnecessary-key`**: Prevents `key` from being placed on non-top-level elements in a list rendering (credit to [@kachkaev](https://github.com/kachkaev) for the idea).
45+
- **`react-x/no-unnecessary-key`**: Prevents `key` from being placed on non-top-level elements in list rendering (credit to [@kachkaev](https://github.com/kachkaev) for the idea).
4646
- **`react-dom/no-string-style-prop`**: Disallows string values for the `style` prop, which is useful in non-TypeScript environments like MDX (proposed by [@karlhorky](https://github.com/karlhorky)).
4747
- **`react-dom/prefer-namespace-import`**: Enforces using a namespace import for `react-dom` (the React DOM equivalent of `react-x/prefer-namespace-import`).
4848

0 commit comments

Comments
 (0)