优化脚本
This commit is contained in:
@@ -286,12 +286,6 @@ export function VideoRemixPage({ textModels = [], onNotify, onBack, navigate }:
|
||||
if (blobPreviewUrl) URL.revokeObjectURL(blobPreviewUrl);
|
||||
}, [blobPreviewUrl]);
|
||||
|
||||
useEffect(() => {
|
||||
const el = promptRef.current;
|
||||
if (!el || !hasResult) return;
|
||||
el.style.height = "auto";
|
||||
el.style.height = `${Math.max(132, el.scrollHeight)}px`;
|
||||
}, [prompt, hasResult]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!pollId) return;
|
||||
|
||||
Reference in New Issue
Block a user