diff --git a/src/components/flow/Cell/index.tsx b/src/components/flow/Cell/index.tsx index c88bf53b..46148fb0 100644 --- a/src/components/flow/Cell/index.tsx +++ b/src/components/flow/Cell/index.tsx @@ -12,7 +12,7 @@ interface IProps { is_text?: boolean; } -const Cell: FC = ({ node: { id, title, brief, type, blocks }, onSelect }) => { +const Cell: FC = ({ node: { id, title, thumbnail, type, blocks }, onSelect }) => { const [is_loaded, setIsLoaded] = useState(false); const onImageLoad = useCallback(() => { @@ -33,15 +33,15 @@ const Cell: FC = ({ node: { id, title, brief, type, blocks }, onSelect } {text &&
{text}
} - {brief && brief.thumbnail && ( + {thumbnail && (
- +
)} diff --git a/src/redux/types.ts b/src/redux/types.ts index 65cc711f..c8cb11f8 100644 --- a/src/redux/types.ts +++ b/src/redux/types.ts @@ -117,13 +117,8 @@ export interface INode { type: string; blocks: IBlock[]; - - brief?: { - thumbnail?: string; - description?: string; - owner?: string; - comments?: number; - }; + thumbnail?: string; + description?: string; options: { flow: {