         
         //Secondary Title
         if let secondaryTitle = component.props.secondaryTitle {
+            errorBodyView.middleDivider = buildMiddleDivider(in: errorBodyView, onBottomOf: errorBodyView.actionButton)
             errorBodyView.secondaryTitleLabel = buildSecondaryTitleLabel(with: secondaryTitle, in: errorBodyView, onBottomOf: errorBodyView.middleDivider)
-            errorBodyView.middleDivider = buildMiddleDivider(in: errorBodyView, onBottomOf: errorBodyView.actionButton)
             errorBodyView.bottomDivider = buildBottomDivider(in: errorBodyView, onBottomOf: errorBodyView.secondaryTitleLabel)
             errorBodyView.pinLastSubviewToBottom(withMargin: PXLayout.ZERO_MARGIN)?.isActive = true
+        } else {
+            errorBodyView.pinLastSubviewToBottom(withMargin: PXLayout.L_MARGIN)?.isActive = true
         }
-        
-        errorBodyView.pinLastSubviewToBottom(withMargin: PXLayout.L_MARGIN)?.isActive = true
         
         return errorBodyView
     }

        label.textColor = .pxBlack
        label.numberOfLines = 0
        label.attributedText = text
        
        label.lineBreakMode = .byWordWrapping
        superView.addSubview(label)
        

        label.textAlignment = .center
        label.textColor = .pxBrownishGray
        label.numberOfLines = 0
        label.attributedText = text
        label.font = font
        label.lineBreakMode = .byWordWrapping
        superView.addSubview(label)
        
