From 7d3f3088ef7348cdb13c17f9552cea3e55913cdf Mon Sep 17 00:00:00 2001 From: Elijah Date: Sat, 23 May 2026 17:13:08 -0700 Subject: [PATCH] fix(ui): update wording for password lockout message --- frontend/src/app/share/[id]/page.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/frontend/src/app/share/[id]/page.tsx b/frontend/src/app/share/[id]/page.tsx index ea5763f..80160e4 100644 --- a/frontend/src/app/share/[id]/page.tsx +++ b/frontend/src/app/share/[id]/page.tsx @@ -155,12 +155,11 @@ export default function PublicSharePage({ params }: { params: Promise<{ id: stri {showPassword ? : } - {passwordError && ( + {lockoutTime > 0 ? ( +

Too many incorrect attempts, try again in {lockoutTime} seconds

+ ) : passwordError ? (

{passwordError}

- )} - {lockoutTime > 0 && ( -

Locked out. Try again in {lockoutTime}s.

- )} + ) : null}