mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 21:42:27 +08:00
fix(video): set empty string as default prompt instead of undefined
This commit is contained in:
parent
d5078baa20
commit
33582a460b
@ -40,7 +40,7 @@ export const VideoPanel = ({ provider, video, params, updateParams }: VideoPanel
|
||||
if (video) {
|
||||
updateParams({ params: { prompt: video.prompt } })
|
||||
} else {
|
||||
updateParams({ params: { prompt: undefined } })
|
||||
updateParams({ params: { prompt: '' } })
|
||||
}
|
||||
}, [updateParams, video])
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user