diff --git a/src/client/dd-hub-react/src/sections/document/doc-item.tsx b/src/client/dd-hub-react/src/sections/document/doc-item.tsx index 4f16b6a..fb7a591 100644 --- a/src/client/dd-hub-react/src/sections/document/doc-item.tsx +++ b/src/client/dd-hub-react/src/sections/document/doc-item.tsx @@ -1,6 +1,7 @@ import type { CardProps } from '@mui/material/Card'; import type { IconifyName } from 'src/components/iconify'; +import { useState } from 'react'; import { varAlpha } from 'minimal-shared/utils'; import Box from '@mui/material/Box'; @@ -42,7 +43,7 @@ export function DocItem({ // /> // ); //#endregion - + const renderTitle = ( { + e.currentTarget.onerror = null; + e.currentTarget.src = 'assets/icons/file/unknown.svg'; + }} sx={{ top: 0, width: 1,