mirror of
https://github.com/suitenumerique/docs
synced 2026-04-21 13:37:20 +00:00
✅(frontend) fix eslint errors and warnings
Recent dependencies update caused some eslint errors and warnings. This commit fixes them.
This commit is contained in:
parent
da091a07ea
commit
21af59900d
3 changed files with 1 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ interface PdfBlockComponentProps {
|
|||
InlineContentSchema,
|
||||
StyleSchema
|
||||
>;
|
||||
contentRef: (node: HTMLElement | null) => void;
|
||||
editor: BlockNoteEditor<
|
||||
Record<'pdf', CreatePDFBlockConfig>,
|
||||
InlineContentSchema,
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ type UploadLoaderEditor = BlockNoteEditor<
|
|||
interface UploadLoaderBlockComponentProps {
|
||||
block: UploadLoaderBlockType;
|
||||
editor: UploadLoaderEditor;
|
||||
contentRef: (node: HTMLElement | null) => void;
|
||||
}
|
||||
|
||||
const UploadLoaderBlockComponent = ({
|
||||
|
|
|
|||
Loading…
Reference in a new issue