Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
mehm8128 committed Dec 29, 2023
1 parent dbb223d commit 62d1710
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/Modal.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Box, css } from '@kuma-ui/core'
import React, { forwardRef } from 'react'
import React, { MouseEvent, forwardRef } from 'react'

const Modal = forwardRef<
HTMLDialogElement,
Expand Down Expand Up @@ -29,7 +29,12 @@ const Modal = forwardRef<
onClick={onClose}
onKeyDown={() => null}
>
<Box px={48} pt={48} pb={16} onClick={e => e.stopPropagation()}>
<Box
px={48}
pt={48}
pb={16}
onClick={(e: MouseEvent<HTMLDivElement>) => e.stopPropagation()}
>
{children}
</Box>
</dialog>
Expand Down

1 comment on commit 62d1710

@vercel
Copy link

@vercel vercel bot commented on 62d1710 Dec 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.