Skip to content

Commit 772ff0e

Browse files
committed
fix(code): correct trash-confirm copy
The hook no longer deletes any PostHog project (project linking happens at publish time via explicit user action; we never delete user-picked projects). Update the confirm message to match. Generated-By: PostHog Code Task-Id: 142b4c29-fa5f-4e02-9bc9-de8b22313475
1 parent 7bf9410 commit 772ff0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/code/src/renderer/features/sidebar/components/TaskListView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export function TaskListView({
243243
const handleTrash = useCallback(
244244
(taskId: string) => {
245245
const confirmed = window.confirm(
246-
"Delete this draft scratchpad? This will remove the local files, kill any running preview, and delete the auto-created PostHog project. This cannot be undone.",
246+
"Delete this draft scratchpad? This will remove the local files, kill any running preview, and delete the task. The linked PostHog project (if any) is left untouched. This cannot be undone.",
247247
);
248248
if (!confirmed) return;
249249
const nav = useNavigationStore.getState();

0 commit comments

Comments
 (0)