From 4268fdea44e19b51cbc475ca6738effad83d9a05 Mon Sep 17 00:00:00 2001 From: Scott Wilson Date: Tue, 3 Jun 2025 15:36:24 -0700 Subject: [PATCH] improvement: address feedback --- .../public/ShareSecretPage/components/ShareSecretForm.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx b/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx index a374f1377..13d86e277 100644 --- a/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx +++ b/frontend/src/pages/public/ShareSecretPage/components/ShareSecretForm.tsx @@ -367,9 +367,11 @@ export const ShareSecretForm = ({ isError={Boolean(error)} className="flex-1" helperText={ - maxSharedSecretViewLimit - ? `Limited to ${maxSharedSecretViewLimit} by organization.` - : undefined + maxSharedSecretViewLimit ? ( + + Limited to {maxSharedSecretViewLimit} views by organization + + ) : undefined } >