import{l as e,s as t,st as n,ut as r}from"./branding-ClCX8iZg.js";var i=r(n());function a(n,r){let a=i.useRef(n),o=e(r);t(()=>{a.current!==n&&o(a.current)},[n,o]),t(()=>{a.current=n},[n])}export{a as t};