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}