Skip to content

Commit c2608e8

Browse files
shoaibbhimanirenatorib
authored andcommitted
Fix Syntax error in docs (#192)
1 parent 3fabaa2 commit c2608e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/components/List.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ import { List } from 'react-powerplug'
2222
{({ list, pull, push }) => (
2323
<div>
2424
<FormInput onSubmit={push} />
25-
{list.map({ tag }) => (
25+
{list.map(({ tag }) => (
2626
<Tag onRemove={() => pull(value => value === tag)}>
2727
{tag}
2828
</Tag>
29-
)}
29+
))}
3030
</div>
3131
)}
3232
</List>

0 commit comments

Comments
 (0)