adding number of peers and version to the frontend

This commit is contained in:
Gabriel mermelstein 2024-06-12 18:25:20 +02:00
parent d4b2e18541
commit 340db2a4e2
No known key found for this signature in database
GPG Key ID: 82B8134785FEAE0D

View File

@ -439,6 +439,11 @@ function App() {
<div className="absolute right-16 top-16">{settingsDialog()}</div>
<div className="absolute left-16 top-16 flex flex-col">
<Label className="text-md">Nwaku Version: {nwakuVersion}</Label>
<Label className="text-md">Number of Peers: {numPeers}</Label>
</div>
{!username && (
<div className="flex flex-col gap-5 items-center justify-center h-screen mt-[-60px]">
{logoImage()}