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