Skip to content

Commit

Permalink
Make sure we destructure the right things in interactive list.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdotdesign committed Dec 3, 2024
1 parent 10efdfd commit 42087a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/InteractiveList.mint
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ component Ui.InteractiveList {
<div::items as container>
for item of items {
case item {
Ui.ListItem.Item(key, content) =>
Ui.ListItem.Item(_, content, key) =>
<Ui.InteractiveList.Item
onClick={(event : Html.Event) { handleClickSelect(key) }}
intended={intendable && key == intended}
Expand Down

0 comments on commit 42087a1

Please sign in to comment.