mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 12:24:25 +02:00
Fix propType for clientOffset (#15586)
GitOrigin-RevId: e49e2fa8240e926e44fc65c8f3d7aa1b4435e29b
This commit is contained in:
@@ -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 }) {
|
||||
|
||||
Reference in New Issue
Block a user