feat: Refactor utility and component exports, update dependencies, and add Knip for unused code detection.
This commit is contained in:
@@ -6,8 +6,6 @@ import type {
|
||||
} from '../utils/ocr';
|
||||
import type { Document } from '../types/documents';
|
||||
|
||||
export type { Document };
|
||||
|
||||
const asyncFalse = async () => false;
|
||||
|
||||
const resolveDocumentDownloadHref = (document?: Document | null): string | null => {
|
||||
@@ -82,8 +80,3 @@ export const createDocumentActionState = ({
|
||||
openOcr,
|
||||
};
|
||||
};
|
||||
|
||||
export const documentActionsTestExports = {
|
||||
resolveDocumentDownloadHref,
|
||||
hasDocumentTextContentAsset,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user