mirror of
https://github.com/RoboSats/robosats.git
synced 2025-09-13 00:56:22 +00:00
Merge pull request #1733 from RoboSats/hide-secure-alert-notification-on-onion-address
Hide secure alert on onion address
This commit is contained in:
@ -9,7 +9,7 @@ const HostAlert = (): JSX.Element => {
|
|||||||
!hostUrl.includes('robosats') && (client === 'selfhosted' || client === 'desktop')
|
!hostUrl.includes('robosats') && (client === 'selfhosted' || client === 'desktop')
|
||||||
? SelfhostedAlert
|
? SelfhostedAlert
|
||||||
: UnsafeAlert;
|
: UnsafeAlert;
|
||||||
return component();
|
return hostUrl.endsWith('.onion') ? <></> : component();
|
||||||
};
|
};
|
||||||
|
|
||||||
export default HostAlert;
|
export default HostAlert;
|
||||||
|
|||||||
Reference in New Issue
Block a user