Revert "куафсещк"

This reverts commit ef9a16daa9.
This commit is contained in:
Daniel Shleifman
2021-06-10 21:54:00 +03:00
parent ef9a16daa9
commit 6df5f1c489
2 changed files with 1 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ export default function AddDialog({ handleClose }) {
useEffect(() => {
// if title exists and title was changed then search poster.
const titleChanged = title !== prevTitleState
if (!titleChanged) return
if (!titleChanged || !title) return
if (skipDebounce) {
posterSearch(title, posterSearchLanguage)