fix: remove unnecessary toString() calls in URL opening for invite and upgrade buttons

This commit is contained in:
Eric Hilse
2025-12-01 10:10:13 -07:00
parent a3b6f0e757
commit cd08deb2c1
@@ -12,7 +12,7 @@ export const performInviteUserClick = (placement: string, cnt: string) => {
});
const url = getExternalUserMngLinkUrl(cnt);
window.open(url.toString(), '_blank');
window.open(url, '_blank');
};
export const performUpgradeClick = (placement: string, cnt: string) => {
@@ -21,5 +21,5 @@ export const performUpgradeClick = (placement: string, cnt: string) => {
});
const url = getUpgradeUrl(cnt);
window.open(url.toString(), '_blank');
window.open(url, '_blank');
};