Clean up imports

This commit is contained in:
2025-09-06 12:25:32 +03:00
Unverified
parent df92d643b5
commit 323f368bc8
9 changed files with 16 additions and 23 deletions
@@ -1,6 +1,4 @@
import { PRODUCT_NAME } from "../../../core/config";
import { useDialog } from "../../contexts/DialogContext";
import { useChat } from "../../hooks/useChat";
import { useAppState } from "../../state";
import defaultAvatar from "../../../resources/images/default-avatar.png";
import { useState, type FormEvent } from "react";
@@ -146,7 +146,7 @@ export function MessageContextMenu({
}, 200); // Match the animation duration from _animations.scss
};
const handleEditSave = (messageId: number, newContent: string) => {
const handleEditSave = (_messageId: number, newContent: string) => {
// Create a temporary message object with the updated content
const updatedMessage = { ...message, content: newContent };
onEdit(updatedMessage);