Skip to content

Commit 68f3646

Browse files
committed
address comment
1 parent f289bab commit 68f3646

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/pptx-sandbox-host.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ export const PptxSandboxHost = memo(function PptxSandboxHost({
8686
activeContainerRef.current = nextContainer
8787
setSlideCount(handle.viewer.slideCount)
8888
setCurrentSlide(handle.viewer.currentSlideIndex + 1)
89-
nextContainer.style.visibility = 'visible'
9089
if (zoomPercentRef.current !== 100) {
9190
await handle.viewer.setZoom(zoomPercentRef.current)
9291
}
92+
nextContainer.style.visibility = 'visible'
9393
previousHandle?.destroy()
9494
previousContainer?.remove()
9595
onRenderCompleteRef.current?.()

0 commit comments

Comments
 (0)