diff --git a/test/servers/Overview.test.tsx b/test/servers/Overview.test.tsx index b678a7a5..1dbc7bcf 100644 --- a/test/servers/Overview.test.tsx +++ b/test/servers/Overview.test.tsx @@ -1,4 +1,4 @@ -import { FC } from 'react'; +import { FC, PropsWithChildren } from 'react'; import { mount, ReactWrapper } from 'enzyme'; import { Mock } from 'ts-mockery'; import { Link, MemoryRouter } from 'react-router-dom'; @@ -15,7 +15,7 @@ describe('', () => { let wrapper: ReactWrapper; const ShortUrlsTable = () => null; const CreateShortUrl = () => null; - const ForServerVersion: FC = ({ children }) => <>{children}; + const ForServerVersion: FC> = ({ children }) => <>{children}; const listShortUrls = jest.fn(); const listTags = jest.fn(); const loadVisitsOverview = jest.fn();