Skip to content

Commit

Permalink
Fix bugs that prevent deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Eunice committed Jan 23, 2022
1 parent 0825d1a commit 9efdc84
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pages/category/crew.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function crew({ data }) {
</article>
<article className={styles.column}>
{right.map((crewData) => {
return <Crew data={crewData}></Crew>;
return <Crew data={crewData} key={crewData.id}></Crew>;
})}
</article>
</article>
Expand Down
4 changes: 2 additions & 2 deletions pages/category/spacecrafts.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ export default function spacecrafts({ dragons, rockets }) {
</Head>
<article className={styles.content}>
{dragons.map((dragonData) => {
return <Dragon data={dragonData}></Dragon>;
return <Dragon data={dragonData} key={dragonData.id}></Dragon>;
})}
{rockets.map((rocketData) => {
return <Rocket data={rocketData}></Rocket>;
return <Rocket data={rocketData} key={rocketData.id}></Rocket>;
})}
</article>
</Layout>
Expand Down
2 changes: 1 addition & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function Home({ data }) {
<Company data={data}></Company>
<section className={styles.navToData}>
<Link href="/category/launches">
<a>Let's get started!</a>
<a>Let&apos;s get started!</a>
</Link>
</section>
</main>
Expand Down

1 comment on commit 9efdc84

@vercel
Copy link

@vercel vercel bot commented on 9efdc84 Jan 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.