Skip to content

Commit

Permalink
fix Prettify errors raised in build
Browse files Browse the repository at this point in the history
  • Loading branch information
toni-sharpe committed Aug 5, 2024
1 parent c2cf743 commit 85aab55
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions adminSiteClient/ChartRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,14 @@ export class ChartRow extends React.Component<{

return (
<tr>
<td style={{
display: 'flex',
flexDirection: 'column',
width: "400px",
}}>
<div style={{ marginBottom: '16px' }}>
<td
style={{
display: "flex",
flexDirection: "column",
width: "400px",
}}
>
<div style={{ marginBottom: "16px" }}>
{chart.isPublished ? (
<a href={`${BAKED_GRAPHER_URL}/${chart.slug}`}>
{highlight(chart.title ?? "")}
Expand All @@ -73,7 +75,7 @@ export class ChartRow extends React.Component<{
</div>
)}
</div>
<div style={{ marginBottom: '16px' }}>
<div style={{ marginBottom: "16px" }}>
{chart.isPublished && (
<a href={`${BAKED_GRAPHER_URL}/${chart.slug}`}>
<img
Expand All @@ -85,7 +87,9 @@ export class ChartRow extends React.Component<{
</div>
</td>
<td style={{ minWidth: "60px" }}>
<a href={`/admin/test/embeds?ids=${chart.id}&comparisonUrl=https%3A%2F%2Fourworldindata.org`}>
<a
href={`/admin/test/embeds?ids=${chart.id}&comparisonUrl=https%3A%2F%2Fourworldindata.org`}
>
{chart.id}
</a>
</td>
Expand Down

0 comments on commit 85aab55

Please sign in to comment.