Skip to content

Commit ceede6d

Browse files
committed
fixed lint error click-events-have-key-events
1 parent 7056e45 commit ceede6d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/web/src/components/ai-prompt-input.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ export function AiPromptInput({ prompt, setPrompt, onClose, aiEnabled }: AiPromp
3939
{!aiEnabled && (
4040
<div className="flex items-center justify-between bg-warning text-warning-foreground rounded-sm text-sm px-3 py-1 m-3">
4141
<p>AI provider not configured.</p>
42-
<button className="font-medium underline cursor-pointer" onClick={navigate('/settings')}>
42+
<button
43+
className="font-medium underline cursor-pointer"
44+
onClick={() => navigate('/settings')}
45+
aria-hidden="true"
46+
>
4347
Settings
4448
</button>
4549
</div>

0 commit comments

Comments
 (0)