diff --git a/client/src/pages/presentationEditor/PresentationEditorPage.tsx b/client/src/pages/presentationEditor/PresentationEditorPage.tsx
index caaaba46cb3a3fc432ef3702e50549df94fde007..d84944b47440997de210a258c65a6316caab63e9 100644
--- a/client/src/pages/presentationEditor/PresentationEditorPage.tsx
+++ b/client/src/pages/presentationEditor/PresentationEditorPage.tsx
@@ -122,7 +122,7 @@ const PresentationEditorPage: React.FC = () => {
       return
     }
     const draggedIndex = result.source.index
-    const draggedSlideId = sortedSlides.find((slide) => slide.order === draggedIndex)?.id
+    const draggedSlideId = sortedSlides[draggedIndex].id
     const slidesCopy = [...sortedSlides]
     const [removed] = slidesCopy.splice(draggedIndex, 1)
     slidesCopy.splice(result.destination.index, 0, removed)