From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/app/create-app-dialog/index.tsx | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/app/components/app/create-app-dialog/index.tsx b/app/components/app/create-app-dialog/index.tsx
index 794bbbf..acc3650 100644
--- a/app/components/app/create-app-dialog/index.tsx
+++ b/app/components/app/create-app-dialog/index.tsx
@@ -1,6 +1,4 @@
'use client'
-import { useCallback } from 'react'
-import { useKeyPress } from 'ahooks'
import AppList from './app-list'
import FullScreenModal from '@/app/components/base/fullscreen-modal'
@@ -12,13 +10,6 @@
}
const CreateAppTemplateDialog = ({ show, onSuccess, onClose, onCreateFromBlank }: CreateAppDialogProps) => {
- const handleEscKeyPress = useCallback(() => {
- if (show)
- onClose()
- }, [show, onClose])
-
- useKeyPress('esc', handleEscKeyPress)
-
return (
<FullScreenModal
open={show}
--
Gitblit v1.8.0