mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Fix propType for clientOffset (#15586)
GitOrigin-RevId: e49e2fa8240e926e44fc65c8f3d7aa1b4435e29b
This commit is contained in:
parent
e8150c4b17
commit
87ac3bca09
1 changed files with 4 additions and 1 deletions
|
@ -42,7 +42,10 @@ FileTreeDraggablePreviewLayer.propTypes = {
|
|||
item: PropTypes.shape({
|
||||
title: PropTypes.string.isRequired,
|
||||
}),
|
||||
clientOffset: PropTypes.number,
|
||||
clientOffset: PropTypes.shape({
|
||||
x: PropTypes.number,
|
||||
y: PropTypes.number,
|
||||
}),
|
||||
}
|
||||
|
||||
function DraggablePreviewItem({ title }) {
|
||||
|
|
Loading…
Reference in a new issue