From b64ec041c64ad6bf3742300eaa0270e38641f291 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Thu, 7 Oct 2021 18:25:39 +0700 Subject: [PATCH] colorful lab nodes for all text ones --- src/components/lab/LabNode/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/lab/LabNode/index.tsx b/src/components/lab/LabNode/index.tsx index ed4af98b..d3293c06 100644 --- a/src/components/lab/LabNode/index.tsx +++ b/src/components/lab/LabNode/index.tsx @@ -23,7 +23,7 @@ const LabNode: FC = ({ node, isLoading, lastSeen, commentCount }) => { [node.commented_at, lastSeen] ); - const background = useColorGradientFromString(node.is_heroic ? node.title : '', 3, 2); + const background = useColorGradientFromString(!node.thumbnail ? node.title : '', 3, 2); return (