Fix copy to clipboard when clicking server address

closes #4187
This commit is contained in:
DaneEveritt 2022-06-27 19:18:58 -04:00
parent 72f545259f
commit ad6e9f076b
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
5 changed files with 61 additions and 71 deletions

View file

@ -72,7 +72,7 @@ const ServerDetailsBlock = ({ className }: { className?: string }) => {
return (
<div className={classNames('grid grid-cols-6 gap-2 md:gap-4', className)}>
<StatBlock icon={faWifi} title={'Address'}>
<StatBlock icon={faWifi} title={'Address'} copyOnClick={allocation}>
{allocation}
</StatBlock>
<StatBlock