Skip to content

Commit

Permalink
fix: we shouldnt show the blurry instance for a topic node
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Actions committed Oct 3, 2023
1 parent 44d0982 commit 118ff5f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/Universe/Graph/Cubes/BlurryInstances/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ export const BlurryInstances = ({ hide }: InstanceProps) => {
const instances = useMemo(
() =>
data.nodes.map((node, i) => {
if (node.node_type === 'topic') {
return false
}

const visible = !isMainTopic(node)
const color = getNodeColorByType(node.node_type || '', true) as string

Expand Down

0 comments on commit 118ff5f

Please sign in to comment.