From 168ed3215f659d44215fd02ac05cc1fe58be4e06 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Mon, 20 Dec 2021 22:59:32 +0100
Subject: chore: create search view

---
 src/components/PostsList/PostsList.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/PostsList/PostsList.tsx')

diff --git a/src/components/PostsList/PostsList.tsx b/src/components/PostsList/PostsList.tsx
index 03e8834..da72032 100644
--- a/src/components/PostsList/PostsList.tsx
+++ b/src/components/PostsList/PostsList.tsx
@@ -39,7 +39,7 @@ const PostsList = ({
   const getPostsList = () => {
     return data.map((page) => {
       if (page.posts.length === 0) {
-        return <p>{t`No results found.`}</p>;
+        return <p key="no-result">{t`No results found.`}</p>;
       } else {
         return (
           <Fragment key={page.pageInfo.endCursor}>
-- 
cgit v1.2.3

