diff --git a/apps/client/src/widgets/collections/presentation/index.tsx b/apps/client/src/widgets/collections/presentation/index.tsx index 3cf3a7b8b..656940c68 100644 --- a/apps/client/src/widgets/collections/presentation/index.tsx +++ b/apps/client/src/widgets/collections/presentation/index.tsx @@ -68,33 +68,39 @@ function ButtonOverlay({ containerRef, api }: { containerRef: RefObject - { - const currentSlide = api?.getCurrentSlide(); - const noteId = getNoteIdFromSlide(currentSlide); +
+ { + const currentSlide = api?.getCurrentSlide(); + const noteId = getNoteIdFromSlide(currentSlide); - if (noteId) { - openInCurrentNoteContext(e, noteId); - } - }} - /> + if (noteId) { + openInCurrentNoteContext(e, noteId); + } + }} + /> - { - api?.toggleOverview(); - }} - /> + api?.toggleOverview()} + /> - containerRef.current?.requestFullscreen()} - /> + containerRef.current?.requestFullscreen()} + /> +
) }