feat: new site page tips

This commit is contained in:
DIYgod
2022-08-07 17:06:56 +01:00
parent 51f4c0e627
commit bcba59cd6a
2 changed files with 14 additions and 8 deletions
+6 -4
View File
@@ -106,10 +106,12 @@ export const ConnectButton: React.FC<{
>
{userSites.data?.[0]?.name || account.displayName}
</span>
<span className="text-left leading-none text-xs text-gray-400">
{"@" + userSites.data?.[0]?.username ||
account.displayName}
</span>
{userSites.data?.[0]?.username && (
<span className="text-left leading-none text-xs text-gray-400">
{"@" + userSites.data?.[0]?.username ||
account.displayName}
</span>
)}
</div>
</button>
<div