fix: type fix
This commit is contained in:
parent
4d99a7fbdf
commit
27ce5e7808
|
@ -517,7 +517,8 @@ const RedirectToInstantMeetingModal = ({ expiryTime }: { expiryTime?: Date }) =>
|
|||
<Button
|
||||
className="mt-4"
|
||||
onClick={() => {
|
||||
window.location.href = pathname;
|
||||
// Prevent null on app directory
|
||||
if (pathname) window.location.href = pathname;
|
||||
}}
|
||||
color="primary">
|
||||
{t("go_back")}
|
||||
|
|
Loading…
Reference in New Issue
Block a user