refactor(EditFlowSettingsComponent): remove unused code for displaying "Name already in use" message

The code for displaying the "Name already in use" message in the EditFlowSettingsComponent has been removed as it is no longer needed.
This commit is contained in:
cristhianzl 2023-12-08 15:25:05 -03:00
commit e511fa1bae

View file

@ -36,9 +36,6 @@ export const EditFlowSettings: React.FC<InputProps> = ({
{isMaxLength && (
<span className="edit-flow-span">Character limit reached</span>
)}
{invalidNameList?.includes(name ?? "") && (
<span className="edit-flow-span">Name already in use</span>
)}
</div>
<Input
className="nopan nodelete nodrag noundo nocopy mt-2 font-normal"