add neurone - wip

This commit is contained in:
Ajay Bura 2026-07-19 19:58:32 +05:30
commit c27f45161e
313 changed files with 15684 additions and 8101 deletions

View file

@ -19,7 +19,7 @@ import * as css from './style.css';
import { useFilePicker } from '../../hooks/useFilePicker';
import { CompactUploadCardRenderer } from '../upload-card';
import { UploadSuccess } from '../../state/upload';
import { getImageInfo, TUploadContent } from '../../utils/matrix';
import { getImageInfo, UploadContent } from '../../utils/matrix';
import { getImageFileUrl, loadImageElement, renameFile } from '../../utils/dom';
import { replaceSpaceWithDash, suffixRename } from '../../utils/common';
import { getFileNameWithoutExt } from '../../utils/mimeTypes';
@ -110,7 +110,7 @@ export const ImagePackContent = as<'div', ImagePackContentProps>(
[imagePack.meta]
);
const handleUploadRemove = useCallback((file: TUploadContent) => {
const handleUploadRemove = useCallback((file: UploadContent) => {
setFiles((fs) => fs.filter((f) => f !== file));
}, []);