Skip to content

Commit

Permalink
feat: added node type badge to tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
Rassl committed Aug 14, 2024
1 parent 7dc3133 commit 2e02baf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -84,7 +85,7 @@ export const Tooltip = ({ node }: Props) => {
<Flex direction="row">
{displayImageUrl && <Divider />}
<Flex align="flex-start" pb={12}>
<Text>{nodeType?.toUpperCase()}</Text>
<TypeBadge type={nodeType} />
</Flex>
</Flex>

Expand Down

0 comments on commit 2e02baf

Please sign in to comment.