mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 05:56:10 +05:00
refactor
This commit is contained in:
@@ -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 || !title) return
|
||||
if (!titleChanged) return
|
||||
|
||||
if (skipDebounce) {
|
||||
posterSearch(title, posterSearchLanguage)
|
||||
|
||||
Reference in New Issue
Block a user