mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-22 21:29:06 +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')
|
!hostUrl.includes('robosats') && (client === 'selfhosted' || client === 'desktop')
|
||||||
? SelfhostedAlert
|
? SelfhostedAlert
|
||||||
: UnsafeAlert;
|
: UnsafeAlert;
|
||||||
return component();
|
return hostUrl.endsWith('.onion') ? <></> : component();
|
||||||
};
|
};
|
||||||
|
|
||||||
export default HostAlert;
|
export default HostAlert;
|
||||||
|
Loading…
Reference in New Issue
Block a user