@omniumretail/component-library 1.2.88 → 1.2.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -25721,9 +25721,12 @@ const Header = ({
|
|
|
25721
25721
|
if (shouldConfirmNavigation) {
|
|
25722
25722
|
onLeavingPage("/profile");
|
|
25723
25723
|
} else {
|
|
25724
|
+
console.log("📍 Navigating to profile:", window);
|
|
25724
25725
|
if (window.top && window.top !== window.self) {
|
|
25726
|
+
console.log("📍 Navigating to profile1:", profileUrl);
|
|
25725
25727
|
window.top.location.href = profileUrl;
|
|
25726
25728
|
} else {
|
|
25729
|
+
console.log("📍 Navigating to profile2:", profileUrl);
|
|
25727
25730
|
window.location.href = profileUrl;
|
|
25728
25731
|
}
|
|
25729
25732
|
}
|