Fix run prompt callback dependencies
Co-authored-by: Fatih Kadir Akın <fka@fka.dev>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user