From bfdd2880789ceba99926328e38caeeddbbfe7b07 Mon Sep 17 00:00:00 2001 From: Anantshree Chandola Date: Tue, 17 Oct 2023 17:15:52 +0530 Subject: [PATCH] very small change --- frontend/src/Editor/Header/EditAppName.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/Editor/Header/EditAppName.jsx b/frontend/src/Editor/Header/EditAppName.jsx index 097ae8aa31..8ac727e5be 100644 --- a/frontend/src/Editor/Header/EditAppName.jsx +++ b/frontend/src/Editor/Header/EditAppName.jsx @@ -121,9 +121,9 @@ function EditAppName({ appId, appName = '', onNameChanged }) { = 50 - ? 'Maximum length has been reached' - : 'App name should be unique and max 50 characters' + errorMessage || + warningText || + (name.length >= 50 ? 'Maximum length has been reached' : 'App name should be unique and max 50 characters') } isWarning={warningText || name.length >= 50} isError={isError}