Skip to content

Commit cac8b3e

Browse files
committed
feat: add close button
1 parent 3ef6be7 commit cac8b3e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

frontend/providers/devbox/components/modals/jetbrainsGuideModal.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ import {
1717
StepSeparator,
1818
Grid,
1919
GridItem,
20-
Circle
20+
Circle,
21+
ModalCloseButton
2122
} from '@chakra-ui/react'
2223
import Image from 'next/image'
2324
import { useTranslations } from 'next-intl'
@@ -124,7 +125,6 @@ const runtimeTypeToIDEType = (runtimeType: string) => {
124125
}
125126

126127
const JetBrainsGuideModal = ({
127-
onSuccess,
128128
onClose,
129129
jetbrainsGuideData
130130
}: {
@@ -156,6 +156,7 @@ const JetBrainsGuideModal = ({
156156
<ModalOverlay />
157157
<ModalContent top={'5%'} maxWidth={'800px'} w={'700px'} h={'80%'} position={'relative'}>
158158
<ModalHeader pl={10}>{t('use_jetbrains')}</ModalHeader>
159+
<ModalCloseButton top={'10px'} right={'10px'} />
159160
<ModalBody pb={6} overflowY={'auto'}>
160161
{/* prepare */}
161162
<Box pb={6}>

0 commit comments

Comments
 (0)