Skip to content

Commit

Permalink
🐝 remove obsolete comment
Browse files Browse the repository at this point in the history
  • Loading branch information
danyx23 committed Oct 24, 2023
1 parent 069fdaa commit 05ec5fa
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions site/DataPageV2Content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,6 @@ export const DataPageV2Content = ({
: "related-data__category--columns span-cols-8 span-lg-cols-12"
} `

// TODO: this is missing the attribution field ATM and
// so assembles something only roughly similar to the citation described
// by Joe. Also, we need the dataset title.
const origins: OriginSubset[] = uniq(
datapageData.origins.map((item) =>
pick(item, [
Expand All @@ -174,11 +171,6 @@ export const DataPageV2Content = ({
attributionFragments.length > 3
? `${attributionFragments[0]} and other sources`
: attributionFragments.join(", ")
// const attributionShort =
// datapageData.attributionShort ??
// uniq(
// datapageData.origins.map((o) => o.attributionShort ?? o.producer)
// ).join("; ")
const processedAdapted =
datapageData.owidProcessingLevel === "minor"
? `minor processing`
Expand Down

0 comments on commit 05ec5fa

Please sign in to comment.