(frontend) fix eslint errors and warnings

Recent dependencies update caused some
eslint errors and warnings. This commit fixes them.
This commit is contained in:
Anthony LC 2026-03-30 14:02:31 +02:00
parent da091a07ea
commit 21af59900d
No known key found for this signature in database
3 changed files with 1 additions and 3 deletions

View file

@ -47,7 +47,7 @@ export const useAPIInfiniteQuery = <T, Q extends { next?: APIList<Q>['next'] }>(
) => {
return useInfiniteQuery<Q, APIError, InfiniteData<Q>, QueryKey, number>({
initialPageParam: 1,
queryKey: [key, param],
queryKey: [key, param, api],
queryFn: ({ pageParam }) =>
api({
...param,

View file

@ -56,7 +56,6 @@ interface PdfBlockComponentProps {
InlineContentSchema,
StyleSchema
>;
contentRef: (node: HTMLElement | null) => void;
editor: BlockNoteEditor<
Record<'pdf', CreatePDFBlockConfig>,
InlineContentSchema,

View file

@ -52,7 +52,6 @@ type UploadLoaderEditor = BlockNoteEditor<
interface UploadLoaderBlockComponentProps {
block: UploadLoaderBlockType;
editor: UploadLoaderEditor;
contentRef: (node: HTMLElement | null) => void;
}
const UploadLoaderBlockComponent = ({