diff --git a/react-examples.md b/react-examples.md
index 3aa7a5d..9751097 100644
--- a/react-examples.md
+++ b/react-examples.md
@@ -112,24 +112,22 @@ export default UserEventComponent;
## Map + Keys
```javascript
- import React from 'react';
-
- const ComponentWithList = (items) => {
- return (
-
Awesome people list
-
- {items.map(item => {
- return (
- -
- {item.name}
-
- )
- })}
-
- );
- }
-
- export default ComponentWithList;
+import React from "react";
+
+const ComponentWithList = ({ items }) => {
+ return (
+ <>
+ Awesome people list
+
+ {items.map((item) => {
+ return - {item.name}
;
+ })}
+
+ >
+ );
+};
+
+export default ComponentWithList;
```
```javascript