2
0

first commit

This commit is contained in:
2024-08-09 00:39:27 +02:00
commit 79688abe2e
5698 changed files with 497838 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
export const navigateInTopWindow = (url: string) => {
// In some weird unknown case, window.top.location could be null as per typescript. In such case, we still do the redirect but in same window
const location = window.top ? window.top.location : window.location;
location.href = url;
};