fix ts error in build

This commit is contained in:
Jennifer Player 2023-09-18 10:31:50 -04:00
parent dc2e1a42bc
commit c46d9b8768

View File

@ -12,18 +12,17 @@ import {
Text,
Image,
} from '@chakra-ui/react';
import { ReactNode } from 'react';
import { useAppSelector } from '../../app/store/storeHooks';
import { systemSelector } from '../../features/system/store/systemSelectors';
import { useTranslation } from 'react-i18next';
interface Props extends PopoverProps {
details: string;
children: ReactNode;
children: JSX.Element;
image?: string;
buttonLabel?: string;
buttonHref?: string;
placement?: string;
placement?: PopoverProps['placement'];
}
function IAIInformationalPopover({
@ -33,7 +32,7 @@ function IAIInformationalPopover({
buttonHref,
children,
placement,
}: Props) {
}: Props): JSX.Element {
const { shouldDisableInformationalPopovers } = useAppSelector(systemSelector);
const { t } = useTranslation();