From 2256d4cf8c25abde3c578a6ecf052f753bd2819f Mon Sep 17 00:00:00 2001 From: andreastanderen Date: Mon, 4 Nov 2024 14:56:23 +0100 Subject: [PATCH] typecheck --- .../src/ContentLibrary/ContentLibrary.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/libs/studio-content-library/src/ContentLibrary/ContentLibrary.tsx b/frontend/libs/studio-content-library/src/ContentLibrary/ContentLibrary.tsx index f0ea08dd6cc..ccee9cf4f66 100644 --- a/frontend/libs/studio-content-library/src/ContentLibrary/ContentLibrary.tsx +++ b/frontend/libs/studio-content-library/src/ContentLibrary/ContentLibrary.tsx @@ -29,7 +29,7 @@ function ContentLibraryForPage({ }: ContentLibraryForPageProps): React.ReactElement { const router = new RouterRouteMapperImpl(pages); - const Component: PageComponent[T]> = + const Component: PageComponent>> = router.configuredRoutes.get(currentPage); if (!Component) return 404 Page Not Found; // Show the NotFound page from app-dev instead