Loading
function(r,t,e){e.d(t,{L:()=>s});var n=e(582128),o=e(123816);function s(){let r=n.useRef(null),{purchaseError:t,setPurchaseError:e}=(0,o.t4)(r=>({purchaseError:r.purchaseError,setPurchaseError:r.setPurchaseError}));return n.useEffect(()=>{null!=t&&null!=r.current&&r.current.scrollIntoView({behavior:"smooth"})},[t]),{purchaseError:t,setPurchaseError:e,purchaseErrorBlockRef:r}}}