fix(ui): import MouseEvent type explicitly in logs-row

PR-Agent flagged that `React.MouseEvent` referenced an unimported
`React` namespace; in stricter TypeScript builds this would fail
typecheck. Import the type alias from `react` directly.

Refs #1138, #1151
This commit is contained in:
Tam Nhu Tran
2026-04-30 15:44:36 -04:00
parent 39ec84a8a9
commit 6f1396cf1e
+2 -2
View File
@@ -1,4 +1,4 @@
import { memo, useState, type KeyboardEvent } from 'react';
import { memo, useState, type KeyboardEvent, type MouseEvent } from 'react';
import { Copy } from 'lucide-react';
import type { LogsEntry } from '@/lib/api-client';
import { cn } from '@/lib/utils';
@@ -65,7 +65,7 @@ function LogsRowImpl({
}
};
const handleCopyRequestId = async (e: React.MouseEvent) => {
const handleCopyRequestId = async (e: MouseEvent) => {
e.stopPropagation();
if (!entry.requestId) return;
const ok = await copyText(entry.requestId);