From 4caed4f50db03fabbb488eca3fbe5ec25efded0f Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Wed, 6 Dec 2023 00:46:15 +0000 Subject: [PATCH] fix a bug in jsx --- crates/librqbit/webui/src/rqbit-web.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/librqbit/webui/src/rqbit-web.tsx b/crates/librqbit/webui/src/rqbit-web.tsx index 8dd4644..0617ffc 100644 --- a/crates/librqbit/webui/src/rqbit-web.tsx +++ b/crates/librqbit/webui/src/rqbit-web.tsx @@ -202,7 +202,7 @@ const Speed: React.FC<{ statsResponse: TorrentStats }> = ({ statsResponse }) =>
↑ {statsResponse.live.upload_speed.human_readable} {statsResponse.live.snapshot.uploaded_bytes > 0 && - (total {formatBytes(statsResponse.live.snapshot.uploaded_bytes)}})
+ ({formatBytes(statsResponse.live.snapshot.uploaded_bytes)})} }