Skip to content

Commit 911a20b

Browse files
authored
Merge pull request #1733 from RoboSats/hide-secure-alert-notification-on-onion-address
Hide secure alert on onion address
2 parents 8f48599 + 97641cf commit 911a20b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/HostAlert/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const HostAlert = (): JSX.Element => {
99
!hostUrl.includes('robosats') && (client === 'selfhosted' || client === 'desktop')
1010
? SelfhostedAlert
1111
: UnsafeAlert;
12-
return component();
12+
return hostUrl.endsWith('.onion') ? <></> : component();
1313
};
1414

1515
export default HostAlert;

0 commit comments

Comments
 (0)