Skip to content

Commit

Permalink
hotfix(frontend): Prevent a redirect when clicking edit (#6151)
Browse files Browse the repository at this point in the history
  • Loading branch information
amanape authored Jan 8, 2025
1 parent e308b6f commit 62c4bab
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export function ConversationCard({
};

const handleEdit = (event: React.MouseEvent<HTMLButtonElement>) => {
event.preventDefault();
event.stopPropagation();
setTitleMode("edit");
setContextMenuVisible(false);
Expand Down

0 comments on commit 62c4bab

Please sign in to comment.