Skip to content

Commit

Permalink
fix: drag/drop nodes back into SearchableList on NameGeneratorRoster.
Browse files Browse the repository at this point in the history
Issue was in replacement of default props in List component. setting noopcomponent as the default value for dragComponent made drag drop functionality not work
  • Loading branch information
buckhalt committed Feb 7, 2024
1 parent 17bf8ba commit 056872e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/interviewer/components/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const List = ({
className,
items,
itemComponent: ItemComponent = NoopComponent,
dragComponent: DragComponent = NoopComponent,
dragComponent: DragComponent = null,
emptyComponent: EmptyComponent = NoopComponent,
placeholder,
willAccept,
Expand Down

0 comments on commit 056872e

Please sign in to comment.