Skip to content

Commit d1ff89e

Browse files
authored
Merge pull request #609 from Kwonkyu/master
태그가 비어있을 경우 삭제되지 않던 문제를 수정
2 parents 588a328 + f8bda28 commit d1ff89e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/components/write/TagInput.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const TagInput: React.FC<TagInputProps> = ({ onChange, tags: initialTags }) => {
2828
const ignore = useRef(false);
2929

3030
useEffect(() => {
31-
if (tags.length === 0) return;
3231
onChange(tags);
3332
}, [tags, onChange]);
3433

0 commit comments

Comments
 (0)