Display URL host on compliance page organization sidebar ENG-53

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-28 09:40:03 +04:00
parent d893e34e8e
commit baad2f8a34
4 changed files with 7 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
import { domain, formatError } from "@probo/helpers";
import { formatError } from "@probo/helpers";
import { useTranslate } from "@probo/i18n";
import {
Button,
@@ -109,7 +109,7 @@ export function OrganizationSidebar({
rel="noopener noreferrer"
>
<span className="text-txt-info hover:underline ">
{domain(trustCenter.organization.websiteUrl)}
{new URL(trustCenter.organization.websiteUrl).host}
</span>
</a>
</BusinessInfo>