mirror of https://github.com/laurent22/joplin.git
pull/5137/head
parent
a8bc9d2a63
commit
4ae5108717
|
@ -143,7 +143,7 @@ function ResizableLayout(props: Props) {
|
|||
setResizedItem(null);
|
||||
}
|
||||
|
||||
const resizedItemMaxSize = item.key === resizedItem?.key ? resizedItem.maxSize : null;
|
||||
const resizedItemMaxSize = resizedItem && item.key === resizedItem.key ? resizedItem.maxSize : null;
|
||||
if (!item.children) {
|
||||
const size = itemSize(item, parent, sizes, false);
|
||||
|
||||
|
|
Loading…
Reference in New Issue