mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-22 13:19:02 +00:00
Hide secure alert on onion address
This commit is contained in:
parent
8f4859908f
commit
97641cfee7
@ -9,7 +9,7 @@ const HostAlert = (): JSX.Element => {
|
||||
!hostUrl.includes('robosats') && (client === 'selfhosted' || client === 'desktop')
|
||||
? SelfhostedAlert
|
||||
: UnsafeAlert;
|
||||
return component();
|
||||
return hostUrl.endsWith('.onion') ? <></> : component();
|
||||
};
|
||||
|
||||
export default HostAlert;
|
||||
|
Loading…
Reference in New Issue
Block a user