Skip to content

Commit

Permalink
feat: add close button
Browse files Browse the repository at this point in the history
  • Loading branch information
mlhiter committed Dec 11, 2024
1 parent 3ef6be7 commit cac8b3e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -124,7 +125,6 @@ const runtimeTypeToIDEType = (runtimeType: string) => {
}

const JetBrainsGuideModal = ({
onSuccess,
onClose,
jetbrainsGuideData
}: {
Expand Down Expand Up @@ -156,6 +156,7 @@ const JetBrainsGuideModal = ({
<ModalOverlay />
<ModalContent top={'5%'} maxWidth={'800px'} w={'700px'} h={'80%'} position={'relative'}>
<ModalHeader pl={10}>{t('use_jetbrains')}</ModalHeader>
<ModalCloseButton top={'10px'} right={'10px'} />
<ModalBody pb={6} overflowY={'auto'}>
{/* prepare */}
<Box pb={6}>
Expand Down

0 comments on commit cac8b3e

Please sign in to comment.