add paramter type prevent warning lint

This commit is contained in:
fadingNA
2024-11-07 23:23:01 -05:00
parent a2967afb55
commit 4429755c09

View File

@@ -69,7 +69,7 @@ const Documents: React.FC<DocumentsProps> = ({
];
const refreshDocs = (
field: 'date' | 'tokens',
field: 'date' | 'tokens' | undefined,
pageNumber?: number,
rows?: number,
) => {