Update mask.tsx

This commit is contained in:
Yifei Zhang 2023-07-17 11:00:45 +08:00 committed by GitHub
parent 62f8cd1db6
commit c916cd1a87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ function ContextPromptItem(props: {
const [focusingInput, setFocusingInput] = useState(false);
return (
<Draggable draggableId={props.prompt.id.toString()} index={props.index}>
<Draggable draggableId={props.prompt.id || props.index.toString()} index={props.index}>
{(provided) => (
<div
className={chatStyle["context-prompt-row"]}