Skip to content

Commit

Permalink
fix(mainPage): React key render error 🔧
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1t3h47 committed Oct 27, 2023
1 parent 3f160fa commit f50308b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/pages/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const MainPage: React.FC = () => {
</ShowcaseTile>,
]}
cards={[
<StackedCard>
<StackedCard key="demo1">
<CardTitle>
<img
src={process.env.PUBLIC_URL + "/demo1.jpeg"}
Expand All @@ -62,7 +62,7 @@ const MainPage: React.FC = () => {
/>
</CardTitle>
</StackedCard>,
<StackedCard>
<StackedCard key="demo2">
<CardTitle>
<img
src={process.env.PUBLIC_URL + "/demo2.jpeg"}
Expand All @@ -72,7 +72,7 @@ const MainPage: React.FC = () => {
/>
</CardTitle>
</StackedCard>,
<StackedCard>
<StackedCard key="demo3">
<CardTitle>
<img
src={process.env.PUBLIC_URL + "/demo3.jpeg"}
Expand Down

0 comments on commit f50308b

Please sign in to comment.