Module 935630

281 characters · in no known chunk
Dependencies
Required by (1)
Lazily required by (0)none
Requires (1)
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>i});var r=n(64700);function i(){let[e,t]=r.useState(null),n=r.useRef(null);return r.useEffect(()=>{null!=e&&null!=n.current&&n.current.scrollIntoView({behavior:"smooth"})},[e]),{purchaseError:e,setPurchaseError:t,purchaseErrorBlockRef:n}}}