• Mohamed Aziz Mejri's avatar
    fix : hiding upgrade banner on unrelated errors (#1667) · d8a0c6e1
    Mohamed Aziz Mejri 提交于
    This PR solves the issue #1666 
    To solve this i removed the upgrade link from the general case since
    errors related to pro mode are already handled in the specific if-blocks
    
    
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Hide the Dyad Pro upgrade banner on termination errors to reduce
    confusion. The generic upgrade link in ChatErrorBox is now suppressed
    when the error includes "TypeError: terminated" and only shows when Pro
    is disabled otherwise.
    
    <sup>Written for commit 1edf665. Summary will update automatically on
    new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    d8a0c6e1
ChatErrorBox.tsx 6.3 KB