From 2e02baf28e65a2d5960caf7f0587e03feecb1241 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D0=B0=D1=81=D1=83=D0=BB?= Date: Wed, 14 Aug 2024 11:19:22 +0300 Subject: [PATCH] feat: added node type badge to tooltip --- .../Universe/Graph/Cubes/Cube/components/Tooltip/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Universe/Graph/Cubes/Cube/components/Tooltip/index.tsx b/src/components/Universe/Graph/Cubes/Cube/components/Tooltip/index.tsx index f4093b442..1518f58a4 100644 --- a/src/components/Universe/Graph/Cubes/Cube/components/Tooltip/index.tsx +++ b/src/components/Universe/Graph/Cubes/Cube/components/Tooltip/index.tsx @@ -2,6 +2,7 @@ import styled from 'styled-components' import { Avatar } from '~/components/common/Avatar' import { Flex } from '~/components/common/Flex' import { Text } from '~/components/common/Text' +import { TypeBadge } from '~/components/common/TypeBadge' import { Guests, Node } from '~/types' import { colors } from '~/utils/colors' import { formatDescription } from '~/utils/formatDescription' @@ -84,7 +85,7 @@ export const Tooltip = ({ node }: Props) => { {displayImageUrl && } - {nodeType?.toUpperCase()} +