Fix run prompt callback dependencies

Co-authored-by: Fatih Kadir Akın <fka@fka.dev>
This commit is contained in:
Cursor Agent
2026-05-25 15:03:24 +00:00
parent 57694e35f8
commit 93dabff4ed
+1 -1
View File
@@ -297,7 +297,7 @@ export function RunPromptButton({
}
analyticsPrompt.run(promptId, pendingPlatform.name);
}
}, [variableValues, onVariablesFilled, pendingPlatform, getContentWithVariables, content, promptId]);
}, [variableValues, onVariablesFilled, pendingPlatform, getContentWithVariables, content, title, description, promptId]);
const handleRun = (platform: Platform, baseUrl: string) => {
// Check if there are any variables to fill