Fix Drag-and-drop error
This commit is contained in:
parent
b854e32f5c
commit
600d9a0f94
1 changed files with 2 additions and 1 deletions
|
@ -309,7 +309,8 @@ export default function ClaimList(props: Props) {
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{urisLength > 0 && (
|
{/* the droppable element needs to be rendered even if empty otherwise logs error on console */}
|
||||||
|
{(urisLength > 0 || droppableProvided) && (
|
||||||
<ul
|
<ul
|
||||||
className={classnames('ul--no-style', {
|
className={classnames('ul--no-style', {
|
||||||
card: !(tileLayout || swipeLayout || type === 'small'),
|
card: !(tileLayout || swipeLayout || type === 'small'),
|
||||||
|
|
Loading…
Reference in a new issue