Closed sdevore closed 2 years ago
https://github.com/evermade/wp-block-toolkit/blob/fa7a7c25d1dd43283a48ce937c47e2fbd782a6c6/src/components/SortablePostsControl.js#L121
const SortableItem = SortableElement(({ value, onRemove }) => ( <div class="wpbt-sortable-posts-control__sortable-item"> <span>{value.label}</span> <div class="wpbt-sortable-posts-control__sortable-remove" onClick={() => onRemove(value)} /> </div> ));
Should be
const SortableItem = SortableElement(({ value, onRemove }) => ( <div class="wpbt-sortable-posts-control__sortable-item"> <span>{value.label}</span> <div className="wpbt-sortable-posts-control__sortable-remove" onClick={() => onRemove(value)} /> </div> ));
Let me know if you would rather this in a pull request.
https://github.com/evermade/wp-block-toolkit/blob/fa7a7c25d1dd43283a48ce937c47e2fbd782a6c6/src/components/SortablePostsControl.js#L121
Should be
Let me know if you would rather this in a pull request.