Fix Drag-and-drop error

This commit is contained in:
Rafael 2022-05-23 14:09:04 -03:00
parent b854e32f5c
commit 600d9a0f94

View file

@ -309,7 +309,8 @@ export default function ClaimList(props: Props) {
</React.Fragment>
)}
{urisLength > 0 && (
{/* the droppable element needs to be rendered even if empty otherwise logs error on console */}
{(urisLength > 0 || droppableProvided) && (
<ul
className={classnames('ul--no-style', {
card: !(tileLayout || swipeLayout || type === 'small'),