Skip to content

Commit

Permalink
Merge pull request #2039 from stakwork/feature/nodetypebadge-in-tooltip
Browse files Browse the repository at this point in the history
feat: added node type badge to tooltip
  • Loading branch information
Rassl authored Aug 14, 2024
2 parents 7dc3133 + 2e02baf commit e7ed655
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 e7ed655

Please sign in to comment.