diff --git a/src/components/notifications/AppNotifications/AppNotificationsHeader/index.tsx b/src/components/notifications/AppNotifications/AppNotificationsHeader/index.tsx index f7eba656..8a68c2a2 100644 --- a/src/components/notifications/AppNotifications/AppNotificationsHeader/index.tsx +++ b/src/components/notifications/AppNotifications/AppNotificationsHeader/index.tsx @@ -9,6 +9,7 @@ import Text from '@/components/general/Text' import W3iContext from '@/contexts/W3iContext/context' import { noop } from '@/utils/general' import { useIsMobile } from '@/utils/hooks' +import getDomainHref from '@/utils/url' import AppNotificationDropdown from '../AppNotificationDropdown' @@ -29,7 +30,7 @@ const AppNotificationsHeader: React.FC = ({ }) => { const isMobile = useIsMobile() const { dappOrigin } = useContext(W3iContext) - const url = new URL('https://' + domain) + const href = getDomainHref(domain) return (
@@ -58,7 +59,7 @@ const AppNotificationsHeader: React.FC = ({

{name}