Update PageMenu.tsx

This commit is contained in:
Steve Ruiz 2022-06-29 19:07:19 +01:00
parent d27e7dc249
commit 0a0536b438

View file

@ -105,7 +105,6 @@ function PageMenuContent({ onClose }: { onClose: () => void }) {
const handleDrop = React.useCallback(() => {
if (dragId !== null && dropIndex !== null) {
console.log('moving page', app.document.pages[dragId].name, dropIndex)
app.movePage(dragId, dropIndex)
}