From c1a8d796df53c2444da9011c49863c745ee2c51c Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Wed, 27 Nov 2024 14:04:16 +0300 Subject: [PATCH] fix popover --- src/components/shared/TcPopover/TcPopover.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/shared/TcPopover/TcPopover.tsx b/src/components/shared/TcPopover/TcPopover.tsx index ea3c93b3..b00e4b1f 100644 --- a/src/components/shared/TcPopover/TcPopover.tsx +++ b/src/components/shared/TcPopover/TcPopover.tsx @@ -22,11 +22,11 @@ import React from 'react'; import { Popover, PopoverProps } from '@mui/material'; -interface TcPopoverProps extends PopoverProps { +interface TcPopoverProps extends Omit { open: boolean; anchorEl: HTMLButtonElement | null; - content: React.ReactNode; onClose: () => void; + content: React.ReactNode; } const TcPopover = ({