I am creating a frontend similar to Safe UI using which users can create new multi-sig wallets for themselves. I am using Safe Core SDK on my front end (Next.js). Now when I deploy the new safe I face the following issue. Now I am wondering what different Safe UI do to create the new safe for the users. So after spending some time with their front end repo it seems to me that their code does not directly call the deploySafe
function and do many things in order. Although I am not able to get it properly what the code is actually doing.
Can someone guide me on how to create a front end app similar to Safe UI and have a smooth safe creation flow?