aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/App.tsx2
-rw-r--r--src/pages/LandingPage.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/App.tsx b/src/App.tsx
index 9dd8b49..3af6676 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -34,7 +34,7 @@ function App() {
>
<Switch location={location}>
{routes.map(({path, Component}) => (
- <Route exact path={path} component={Component}/>
+ <Route key={path} exact path={path} component={Component}/>
))}
</Switch>
</CSSTransition>
diff --git a/src/pages/LandingPage.tsx b/src/pages/LandingPage.tsx
index ef588f3..60deb30 100644
--- a/src/pages/LandingPage.tsx
+++ b/src/pages/LandingPage.tsx
@@ -20,7 +20,7 @@ function LandingPage() {
{getForms().map(form => (
- <FormListing form={form}/>
+ <FormListing key={form.id} form={form}/>
))}
</div>
</div>