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}