I got a web-based project from my school. and i use sweetalerts2 inside it. the problem occured when i tried to redirect the page after selecting a choice from sweetalerts2.