import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Gy as t,kp as n}from"./index-DDwwBb9e.js";var r=e(t());function i(){let e=n(),t=e.query.project,i=e.query.trace,a=e.query.openTab;return(0,r.useEffect)(()=>{if(!t||!i||!e.isReady)return;let n=a?`&drawer.openTab=${encodeURIComponent(a)}`:``;e.replace(`/${t}/messages?drawer.open=traceDetails&drawer.traceId=${encodeURIComponent(i)}${n}`)},[t,i,a,e,e.isReady]),null}export{i as default};
//# sourceMappingURL=_openTab_-BtaMolPC.js.map