Skip to content

Commit

Permalink
fixup: Format code with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyhgrant committed Jul 17, 2023
1 parent aede0a5 commit 63659f6
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions browser/src/VariantPage/ReferenceList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,17 @@ export const NcbiReference = (variantRsids: string[]) => {
// @ts-expect-error TS(2746) FIXME: This JSX tag's 'children' prop expects a single ch... Remove this comment to see the full error message
<ListItem>
dbSNP ({' '}
{(variantRsids
.map((rsid) => (
// @ts-expect-error TS(2786) FIXME: 'ExternalLink' cannot be used as a JSX component.
<ExternalLink key={rsid} href={`https://www.ncbi.nlm.nih.gov/snp/${rsid}`}>
{rsid}
</ExternalLink>
))
// @ts-expect-error TS(2769) FIXME: No overload matches this call.
.reduce((acc, el) => [...acc, ', ', el], []) as any).slice(1)}
{(
variantRsids
.map((rsid) => (
// @ts-expect-error TS(2786) FIXME: 'ExternalLink' cannot be used as a JSX component.
<ExternalLink key={rsid} href={`https://www.ncbi.nlm.nih.gov/snp/${rsid}`}>
{rsid}
</ExternalLink>
))
// @ts-expect-error TS(2769) FIXME: No overload matches this call.
.reduce((acc, el) => [...acc, ', ', el], []) as any
).slice(1)}
)
</ListItem>
)}
Expand Down

0 comments on commit 63659f6

Please sign in to comment.