import { memo } from 'react' import { Tooltip } from '@janhq/joi' import { FolderOpenIcon } from 'lucide-react' import { usePath } from '@/hooks/usePath' import { toGibibytes } from '@/utils/converter' import { openFileTitle } from '@/utils/titleUtils' import Icon from '../FileUploadPreview/Icon' const DocMessage = ({ id, name }: { id: string; name?: string }) => { const { onViewFile, onViewFileContainer } = usePath() return (
{toGibibytes(Number(size))}
*/}