mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-29 08:14:57 +00:00
code: tsx,nextjs,frontends (1 files)
This commit is contained in:
@@ -158,7 +158,7 @@ const DialogClose = forwardRef<HTMLButtonElement, { children?: ReactNode; onClic
|
||||
({ children, onClick, ...props }, ref) => {
|
||||
if (children) {
|
||||
return (
|
||||
<Box ref={ref as React.Ref<HTMLDivElement>} onClick={onClick} sx={{ display: 'inline-flex', cursor: 'pointer' }}>
|
||||
<Box ref={ref as unknown as React.Ref<HTMLDivElement>} onClick={onClick} sx={{ display: 'inline-flex', cursor: 'pointer' }}>
|
||||
{children}
|
||||
</Box>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user