Skip to content

Commit

Permalink
more dom validation fixes and added missing keys (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimamov authored Nov 16, 2020
1 parent 181cbca commit 7dcfecb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions apps/official/components/pages/Credits.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,16 +98,16 @@ export const Credits = () => {
{t("credits.appreciation.contributors-intro")}:
<br />
</Typography>
<Typography variant="body1">
<div>
{contributors.contributors.map((el, i) => (
<p>
<Typography key={el.profile}>
{" - "}
<a href={el.profile} target="_blank" rel="noopener">
{el.name + (i == contributors.contributors.length - 1 ? "" : " ")}
</a>
</p>
</Typography>
))}
</Typography>
</div>
</section>
</main>
</>
Expand Down
2 changes: 1 addition & 1 deletion apps/official/components/pages/Privacy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const Privacy = () => {
</section>
<section>
<Typography variant="h2">1. {t("privacy.responsible.title")}</Typography>
<Typography variant="body1" style={{ whiteSpace: "break-spaces" }}>
<Typography variant="body1" style={{ whiteSpace: "break-spaces" }} component="div">
<Trans i18nKey="privacy.responsible.text">
<p>part-0</p>
<p>part-1</p>
Expand Down

0 comments on commit 7dcfecb

Please sign in to comment.