import { useProjectContext } from '../../../shared/context/project-context' export default function FileViewImage({ fileName, fileId, onLoad, onError, }: { fileName: string fileId: string onLoad: () => void onError: () => void }) { const { _id: projectId } = useProjectContext() return ( {fileName} ) }