Skip to content

Commit

Permalink
Update page.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
DinerIsmail committed Sep 24, 2024
1 parent 60b36f4 commit e97e2df
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/[subdomain]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,6 @@ async function getData({ webSlug }) {
tags,
relations,
}) => {
const accessibleTextColor = selectMoreAccessibleColor(
`#${category.color}`,
'#3f3f40',
'#fff',
)

transformedData.nodes.push({
id: listingId,
// title,
Expand All @@ -186,10 +180,6 @@ async function getData({ webSlug }) {
// below are for vis-network node styling and data
label: title,
color: `#${category.color}`,
font: {
color: accessibleTextColor,
size: 28,
},
})

relations.map((relation) => {
Expand Down

0 comments on commit e97e2df

Please sign in to comment.