import{useId as e}from"@gem-sdk/core";import{useState as o,useEffect as r}from"react";import{getOrCreateRootDialog as t}from"../common/helpers.js";let m=()=>{let[m,l]=o(),a=e();return r(()=>{let e=t(`dialog-${a}`);l(e)},[a]),m};export{m as default};
