diff --git a/src/frontend/apps/impress/src/api/helpers.tsx b/src/frontend/apps/impress/src/api/helpers.tsx index 991c5176..06a55030 100644 --- a/src/frontend/apps/impress/src/api/helpers.tsx +++ b/src/frontend/apps/impress/src/api/helpers.tsx @@ -47,7 +47,7 @@ export const useAPIInfiniteQuery = ['next'] }>( ) => { return useInfiniteQuery, QueryKey, number>({ initialPageParam: 1, - queryKey: [key, param], + queryKey: [key, param, api], queryFn: ({ pageParam }) => api({ ...param, diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/PdfBlock.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/PdfBlock.tsx index e6d29c6e..596a44b1 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/PdfBlock.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/PdfBlock.tsx @@ -56,7 +56,6 @@ interface PdfBlockComponentProps { InlineContentSchema, StyleSchema >; - contentRef: (node: HTMLElement | null) => void; editor: BlockNoteEditor< Record<'pdf', CreatePDFBlockConfig>, InlineContentSchema, diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/UploadLoaderBlock.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/UploadLoaderBlock.tsx index 200d99bf..7edffff2 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/UploadLoaderBlock.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/UploadLoaderBlock.tsx @@ -52,7 +52,6 @@ type UploadLoaderEditor = BlockNoteEditor< interface UploadLoaderBlockComponentProps { block: UploadLoaderBlockType; editor: UploadLoaderEditor; - contentRef: (node: HTMLElement | null) => void; } const UploadLoaderBlockComponent = ({