From cac8b3e6a9c8fcc17ee7026570d335fe73b09254 Mon Sep 17 00:00:00 2001
From: mlhiter <3076438032@qq.com>
Date: Tue, 3 Dec 2024 16:59:51 +0800
Subject: [PATCH] feat: add close button
---
.../devbox/components/modals/jetbrainsGuideModal.tsx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/frontend/providers/devbox/components/modals/jetbrainsGuideModal.tsx b/frontend/providers/devbox/components/modals/jetbrainsGuideModal.tsx
index 8495c3c08f0..76171658d23 100644
--- a/frontend/providers/devbox/components/modals/jetbrainsGuideModal.tsx
+++ b/frontend/providers/devbox/components/modals/jetbrainsGuideModal.tsx
@@ -17,7 +17,8 @@ import {
StepSeparator,
Grid,
GridItem,
- Circle
+ Circle,
+ ModalCloseButton
} from '@chakra-ui/react'
import Image from 'next/image'
import { useTranslations } from 'next-intl'
@@ -124,7 +125,6 @@ const runtimeTypeToIDEType = (runtimeType: string) => {
}
const JetBrainsGuideModal = ({
- onSuccess,
onClose,
jetbrainsGuideData
}: {
@@ -156,6 +156,7 @@ const JetBrainsGuideModal = ({
{t('use_jetbrains')}
+
{/* prepare */}