diff --git a/frontend/src/shared/components/List/index.tsx b/frontend/src/shared/components/List/index.tsx index 4ae813f..b834da3 100644 --- a/frontend/src/shared/components/List/index.tsx +++ b/frontend/src/shared/components/List/index.tsx @@ -56,7 +56,11 @@ const List = React.forwardRef( }; const onBlur = () => { setEditingTitle(false); - onSaveName(listName); + if (listName.trim() === '') { + setListName(name); + } else { + onSaveName(listName); + } }; const onEscape = () => { if ($listNameRef && $listNameRef.current) {