mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
Fix cmd i not closing AI assistant (#36164)
This commit is contained in:
1 parent
80b4d9d18f
commit
2df44bc073
1 file changed
+1
-1
@@ -125,7 +125,7 @@ const ProjectLayout = forwardRef<HTMLDivElement, PropsWithChildren<ProjectLayout
|
||||
useEffect(() => {
|
||||
const handler = (e: KeyboardEvent) => {
|
||||
if (e.metaKey && e.key === 'i' && !e.altKey && !e.shiftKey) {
|
||||
aiSnap.openAssistant()
|
||||
aiSnap.toggleAssistant()
|
||||
e.preventDefault()
|
||||
e.stopPropagation()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user