From 5802186e86b3ad71c0b5b14dda1150f3f1abba5f Mon Sep 17 00:00:00 2001 From: Lucas Date: Mon, 26 Oct 2026 15:49:54 +0100 Subject: [PATCH] fix: no s at dsp when 0 --- src/pages/HomePage/HomePage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/HomePage/HomePage.tsx b/src/pages/HomePage/HomePage.tsx index 22f7db8..4971f85 100644 --- a/src/pages/HomePage/HomePage.tsx +++ b/src/pages/HomePage/HomePage.tsx @@ -17,14 +17,14 @@ function HomePage({ dspCount, connectedCount, onAddDSP }: HomePageProps) {
Connected
- {connectedCount} DSP{connectedCount !== 1 ? 's' : ''} + {connectedCount} DSP{connectedCount > 1 ? 's' : ''}
Devices
- {dspCount} DSP{dspCount !== 1 ? 's' : ''} configured + {dspCount} DSP{dspCount > 1 ? 's' : ''}