Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function PromptLibraryDetailPage({
const handleUnstar = async () => {
if (!window.confirm('Remove this prompt from your library?')) return;
try {
await unlikeMutation.mutateAsync(params.id);
await unlikeMutation.mutateAsync({ id: params.id, promptVersionId: data?.prompt_version_id });
router.push('/prompt-library');
} catch {
toast.error('Failed to remove from library');
Expand Down
697 changes: 697 additions & 0 deletions frontend/src/components/admin/analytics/developer-metrics.tsx

Large diffs are not rendered by default.

Loading
Loading