{ if (!isOpen) { exportState.current = ExportState.NONE; } }} >